Fixed bug: waitsFor() hangs forever if latch function never returns true.

This commit is contained in:
Christian Williams
2010-08-25 17:16:19 -07:00
parent 254ebb8a03
commit 55149310c3
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ describe('WaitsForBlock', function () {
expect(spec.fail).toHaveBeenCalled();
var failMessage = spec.fail.mostRecentCall.args[0].message;
expect(failMessage).toMatch(message);
expect(onComplete).not.toHaveBeenCalled(); // todo: this is an issue... [xw 20100819]
expect(onComplete).toHaveBeenCalled();
});
});
});