diff options
Diffstat (limited to 'test/ngRoute/directive/ngViewSpec.js')
| -rw-r--r-- | test/ngRoute/directive/ngViewSpec.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/ngRoute/directive/ngViewSpec.js b/test/ngRoute/directive/ngViewSpec.js index 690243e7..818645ef 100644 --- a/test/ngRoute/directive/ngViewSpec.js +++ b/test/ngRoute/directive/ngViewSpec.js @@ -628,32 +628,22 @@ describe('ngView animations', function() { $rootScope.$digest(); $animate.flushNext('enter'); //ngView - - $timeout.flush(); - $animate.flushNext('enter'); //repeat 1 $animate.flushNext('enter'); //repeat 2 - $timeout.flush(); - expect(element.text()).toEqual('12'); $location.path('/bar'); $rootScope.$digest(); $animate.flushNext('leave'); //ngView old - $timeout.flush(); - $animate.flushNext('enter'); //ngView new - $timeout.flush(); expect(n(element.text())).toEqual(''); //this is midway during the animation $animate.flushNext('enter'); //ngRepeat 3 $animate.flushNext('enter'); //ngRepeat 4 - $timeout.flush(); - expect(element.text()).toEqual('34'); function n(text) { |
