diff options
author | kpdecker <kpdecker@gmail.com> | 2013-12-23 00:48:28 -0600 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2013-12-23 02:19:09 -0600 |
commit | 494232425033d7d3aade5b0eba641a93e68e9f89 (patch) | |
tree | 3e4fd8fd04b6d670d3da6e2c5e27311b21c80e68 /spec/builtins.js | |
parent | 0cf5657c43791817776477b727b30ad7f6275707 (diff) | |
download | handlebars.js-494232425033d7d3aade5b0eba641a93e68e9f89.zip handlebars.js-494232425033d7d3aade5b0eba641a93e68e9f89.tar.gz handlebars.js-494232425033d7d3aade5b0eba641a93e68e9f89.tar.bz2 |
Move away from should asserts to internal
This is needed as neither Sinon nor Chai support in-browser testing under IE.
Diffstat (limited to 'spec/builtins.js')
-rw-r--r-- | spec/builtins.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/builtins.js b/spec/builtins.js index ef2d829..766541a 100644 --- a/spec/builtins.js +++ b/spec/builtins.js @@ -73,7 +73,7 @@ describe('builtin helpers', function() { var expected1 = "<b>#1</b>. goodbye! 2. GOODBYE! cruel world!"; var expected2 = "2. GOODBYE! <b>#1</b>. goodbye! cruel world!"; - (actual === expected1 || actual === expected2).should.equal(true, "each with object argument iterates over the contents when not empty"); + equals(actual === expected1 || actual === expected2, true, "each with object argument iterates over the contents when not empty"); shouldCompileTo(string, {goodbyes: [], world: "world"}, "cruel world!", "each with object argument ignores the contents when empty"); }); |