diff options
Diffstat (limited to 'test/ng/directive')
| -rw-r--r-- | test/ng/directive/ngClassSpec.js | 4 | ||||
| -rwxr-xr-x | test/ng/directive/ngIfSpec.js | 2 | ||||
| -rw-r--r-- | test/ng/directive/ngIncludeSpec.js | 4 | ||||
| -rw-r--r-- | test/ng/directive/ngRepeatSpec.js | 2 | ||||
| -rw-r--r-- | test/ng/directive/ngShowHideSpec.js | 2 | ||||
| -rw-r--r-- | test/ng/directive/ngSwitchSpec.js | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/test/ng/directive/ngClassSpec.js b/test/ng/directive/ngClassSpec.js index 976c0c3f..b162fea6 100644 --- a/test/ng/directive/ngClassSpec.js +++ b/test/ng/directive/ngClassSpec.js @@ -309,7 +309,7 @@ describe('ngClass animations', function() { var body, element, $rootElement; it("should avoid calling addClass accidentally when removeClass is going on", function() { - module('mock.animate'); + module('ngAnimateMock'); inject(function($compile, $rootScope, $animate, $timeout) { var element = angular.element('<div ng-class="val"></div>'); var body = jqLite(document.body); @@ -416,7 +416,7 @@ describe('ngClass animations', function() { }); it("should not remove classes if they're going to be added back right after", function() { - module('mock.animate'); + module('ngAnimateMock'); inject(function($rootScope, $compile, $animate) { var className; diff --git a/test/ng/directive/ngIfSpec.js b/test/ng/directive/ngIfSpec.js index 81b54123..d40e6812 100755 --- a/test/ng/directive/ngIfSpec.js +++ b/test/ng/directive/ngIfSpec.js @@ -210,7 +210,7 @@ describe('ngIf animations', function () { return element; } - beforeEach(module('mock.animate')); + beforeEach(module('ngAnimateMock')); beforeEach(module(function() { // we need to run animation on attached elements; diff --git a/test/ng/directive/ngIncludeSpec.js b/test/ng/directive/ngIncludeSpec.js index 38038559..ebb35147 100644 --- a/test/ng/directive/ngIncludeSpec.js +++ b/test/ng/directive/ngIncludeSpec.js @@ -353,7 +353,7 @@ describe('ngInclude', function() { }; } - beforeEach(module(spyOnAnchorScroll(), 'mock.animate')); + beforeEach(module(spyOnAnchorScroll(), 'ngAnimateMock')); beforeEach(inject( putIntoCache('template.html', 'CONTENT'), putIntoCache('another.html', 'CONTENT'))); @@ -589,7 +589,7 @@ describe('ngInclude animations', function() { dealoc(element); }); - beforeEach(module('mock.animate')); + beforeEach(module('ngAnimateMock')); afterEach(function(){ dealoc(element); diff --git a/test/ng/directive/ngRepeatSpec.js b/test/ng/directive/ngRepeatSpec.js index 8bcb9283..b672f86f 100644 --- a/test/ng/directive/ngRepeatSpec.js +++ b/test/ng/directive/ngRepeatSpec.js @@ -1149,7 +1149,7 @@ describe('ngRepeat animations', function() { return element; } - beforeEach(module('mock.animate')); + beforeEach(module('ngAnimateMock')); beforeEach(module(function() { // we need to run animation on attached elements; diff --git a/test/ng/directive/ngShowHideSpec.js b/test/ng/directive/ngShowHideSpec.js index 8a25843c..4bbbbb78 100644 --- a/test/ng/directive/ngShowHideSpec.js +++ b/test/ng/directive/ngShowHideSpec.js @@ -73,7 +73,7 @@ describe('ngShow / ngHide animations', function() { body.removeAttr('ng-animation-running'); }); - beforeEach(module('mock.animate')); + beforeEach(module('ngAnimateMock')); beforeEach(module(function($animateProvider, $provide) { return function(_$rootElement_) { diff --git a/test/ng/directive/ngSwitchSpec.js b/test/ng/directive/ngSwitchSpec.js index a8c91359..e039c4d5 100644 --- a/test/ng/directive/ngSwitchSpec.js +++ b/test/ng/directive/ngSwitchSpec.js @@ -223,7 +223,7 @@ describe('ngSwitch animations', function() { return element; } - beforeEach(module('mock.animate')); + beforeEach(module('ngAnimateMock')); beforeEach(module(function() { // we need to run animation on attached elements; |
