aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/directive/ngClassSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/directive/ngClassSpec.js')
-rw-r--r--test/ng/directive/ngClassSpec.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ng/directive/ngClassSpec.js b/test/ng/directive/ngClassSpec.js
index 62733c85..c7307069 100644
--- a/test/ng/directive/ngClassSpec.js
+++ b/test/ng/directive/ngClassSpec.js
@@ -321,7 +321,6 @@ describe('ngClass animations', function() {
$rootScope.val = 'one';
$rootScope.$digest();
$animate.flushNext('addClass');
- $animate.flushNext('addClass');
expect($animate.queue.length).toBe(0);
$rootScope.val = '';
@@ -428,7 +427,6 @@ describe('ngClass animations', function() {
//this fires twice due to the class observer firing
className = $animate.flushNext('addClass').params[1];
- className = $animate.flushNext('addClass').params[1];
expect(className).toBe('one two three');
expect($animate.queue.length).toBe(0);