Move away from should asserts to internal

This is needed as neither Sinon nor Chai support in-browser testing under IE.
This commit is contained in:
kpdecker
2013-12-23 00:48:28 -06:00
parent 0cf5657c43
commit 4942324250
7 changed files with 211 additions and 208 deletions
+1 -1
View File
@@ -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");
});