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:
+1
-1
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user