From fc8034b352121f8f057dbd5e3837eeb17e1df580 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Thu, 5 Sep 2013 12:01:31 -0700 Subject: feat(ngMock.$timeout): remove flushNext method --- test/ng/timeoutSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ng') diff --git a/test/ng/timeoutSpec.js b/test/ng/timeoutSpec.js index 832528e9..8de63bec 100644 --- a/test/ng/timeoutSpec.js +++ b/test/ng/timeoutSpec.js @@ -77,7 +77,7 @@ describe('$timeout', function() { var promise2 = $timeout(function() {}, 100, false); expect(cancelSpy).not.toHaveBeenCalled(); - $timeout.flushNext(0); + $timeout.flush(0); // Promise1 deferred object should already be removed from the list and not cancellable $timeout.cancel(promise1); -- cgit v1.2.3