diff options
| author | Vojta Jina | 2013-08-20 14:41:27 -0700 |
|---|---|---|
| committer | Vojta Jina | 2013-08-23 12:43:42 -0700 |
| commit | b89a4e49b922894f93d5cc69e00016f157dee625 (patch) | |
| tree | f2c1fdc470b686d4faaa18a11449bdba4f361fbc /test/ng/qSpec.js | |
| parent | eefcdad013b56d5d3a05c0b2137a5860091b2575 (diff) | |
| download | angular.js-b89a4e49b922894f93d5cc69e00016f157dee625.tar.bz2 | |
test: rename / remove duplicate unit tests
Diffstat (limited to 'test/ng/qSpec.js')
| -rw-r--r-- | test/ng/qSpec.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/ng/qSpec.js b/test/ng/qSpec.js index 13c51f4b..7c949602 100644 --- a/test/ng/qSpec.js +++ b/test/ng/qSpec.js @@ -1468,15 +1468,6 @@ describe('q', function() { it('should still reject the promise, when exception is thrown in success handler, even if exceptionHandler rethrows', function() { - deferred.promise.then(function() { throw 'reject'; }).then(null, errorSpy); - deferred.resolve('resolve'); - mockNextTick.flush(); - expect(exceptionExceptionSpy).toHaveBeenCalled(); - expect(errorSpy).toHaveBeenCalled(); - }); - - - it('should still reject the promise, when exception is thrown in success handler, even if exceptionHandler rethrows', function() { deferred.promise.then(null, function() { throw 'reject again'; }).then(null, errorSpy); deferred.reject('reject'); mockNextTick.flush(); |
