Re-enable CustomMatchersSpec and update for current version of custom matchers

This commit is contained in:
Sheel Choksi
2013-10-20 21:58:16 -07:00
parent b6eb9a4d5e
commit 5f429fcb37
2 changed files with 128 additions and 96 deletions

View File

@@ -169,7 +169,7 @@ getJasmineRequireObj().Env = function(j$) {
function specResultCallback(result) {
removeAllSpies();
j$.Expectation.resetMatchers();
customEqualityTesters.length = 0;
customEqualityTesters = [];
self.currentSpec = null;
self.reporter.specDone(result);
}