Permalink
Browse files

Fixed a bad defer test.

  • Loading branch information...
1 parent 9e53164 commit bce8d60780f0e9ca0d70fa8049eb54dc4a3d9f7d @d0ugal d0ugal committed Aug 19, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/specs/defer.js
View
@@ -18,6 +18,9 @@ describe("defer:", function () {
expect(c).toBe(1);
});
expect(c).toBe(0);
+
+ waitsFor(function () {return c > 0; });
+
});
it("should test finished", function () {

0 comments on commit bce8d60

Please sign in to comment.