aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/ng/compileSpec.js1
-rw-r--r--test/ng/directive/ngClassSpec.js2
-rw-r--r--test/ngRoute/directive/ngViewSpec.js2
3 files changed, 0 insertions, 5 deletions
diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js
index 85ee17d2..c25c5040 100755
--- a/test/ng/compileSpec.js
+++ b/test/ng/compileSpec.js
@@ -4479,7 +4479,6 @@ describe('$compile', function() {
$compile(element)($rootScope);
$rootScope.$digest();
- data = $animate.flushNext('removeClass');
expect(element.hasClass('fire')).toBe(true);
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);
diff --git a/test/ngRoute/directive/ngViewSpec.js b/test/ngRoute/directive/ngViewSpec.js
index e96da022..533f0b53 100644
--- a/test/ngRoute/directive/ngViewSpec.js
+++ b/test/ngRoute/directive/ngViewSpec.js
@@ -657,7 +657,6 @@ describe('ngView animations', function() {
item = $animate.flushNext('enter').element;
$animate.flushNext('addClass').element;
- $animate.flushNext('addClass').element;
expect(item.hasClass('classy')).toBe(true);
@@ -677,7 +676,6 @@ describe('ngView animations', function() {
item = $animate.flushNext('leave').element;
$animate.flushNext('addClass').element;
- $animate.flushNext('addClass').element;
expect(item.hasClass('boring')).toBe(true);
}));