diff options
Diffstat (limited to 'test/ngMock/angular-mocksSpec.js')
| -rw-r--r-- | test/ngMock/angular-mocksSpec.js | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/test/ngMock/angular-mocksSpec.js b/test/ngMock/angular-mocksSpec.js index e5f67a7e..c2b6108d 100644 --- a/test/ngMock/angular-mocksSpec.js +++ b/test/ngMock/angular-mocksSpec.js @@ -509,6 +509,11 @@ describe('ngMock', function() {        it('should not throw a runtime exception when given an undefined promise',            inject(function($interval) { +        var task1 = jasmine.createSpy('task1'), +            promise1; + +        promise1 = $interval(task1, 1000, 1); +          expect($interval.cancel()).toBe(false);        }));      }); | 
