diff options
| author | Vojta Jina | 2013-09-05 12:01:31 -0700 | 
|---|---|---|
| committer | Vojta Jina | 2013-10-02 15:59:49 -0700 | 
| commit | fc8034b352121f8f057dbd5e3837eeb17e1df580 (patch) | |
| tree | b6b6dc6fdc151006e39817f808e937bb3c3d2260 /test/ng/timeoutSpec.js | |
| parent | d70711481e6311c9cd283d650f07ca0cca72ecc2 (diff) | |
| download | angular.js-fc8034b352121f8f057dbd5e3837eeb17e1df580.tar.bz2 | |
feat(ngMock.$timeout): remove flushNext method
Diffstat (limited to 'test/ng/timeoutSpec.js')
| -rw-r--r-- | test/ng/timeoutSpec.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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); | 
