aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/directive/ngClassSpec.js
diff options
context:
space:
mode:
authorMatias Niemelä2014-01-22 19:28:42 -0500
committerMatias Niemelä2014-02-06 01:22:14 -0500
commit4224cd5182bc93e4a210f75e0a4e4de7f3c544e8 (patch)
treef5fac86882816fc273975118b6f262f089436d3b /test/ng/directive/ngClassSpec.js
parent906fdad0f95465842e336e057ea97d0633712189 (diff)
downloadangular.js-4224cd5182bc93e4a210f75e0a4e4de7f3c544e8.tar.bz2
fix(mocks): rename mock.animate to ngAnimateMock and ensure it contains all test helper code for ngAnimate
Closes #5822 Closes #5917
Diffstat (limited to 'test/ng/directive/ngClassSpec.js')
-rw-r--r--test/ng/directive/ngClassSpec.js4
1 files changed, 2 insertions, 2 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;