aboutsummaryrefslogtreecommitdiffstats
path: root/test/AngularSpec.js
diff options
context:
space:
mode:
authorIgor Minar2012-04-09 11:20:55 -0700
committerIgor Minar2012-04-09 11:48:54 -0700
commit0f89383d981d0144c6db92b163edcc545d6b5222 (patch)
tree3eb2c5acb653840f7f1cfea6e198d0889edac63c /test/AngularSpec.js
parent10daefc6f466a21d9418437666461c80cf24fcfe (diff)
downloadangular.js-0f89383d981d0144c6db92b163edcc545d6b5222.tar.bz2
chore(tests): rename all directive names to the normalized form
Diffstat (limited to 'test/AngularSpec.js')
-rw-r--r--test/AngularSpec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js
index cf34305a..70f41d33 100644
--- a/test/AngularSpec.js
+++ b/test/AngularSpec.js
@@ -345,7 +345,7 @@ describe('angular', function() {
});
- it('should look for ng-app directive in id', function() {
+ it('should look for ngApp directive in id', function() {
var appElement = jqLite('<div id="ng-app" data-ng-app="ABC"></div>')[0];
jqLite(document.body).append(appElement);
angularInit(element, bootstrap);
@@ -353,7 +353,7 @@ describe('angular', function() {
});
- it('should look for ng-app directive in className', function() {
+ it('should look for ngApp directive in className', function() {
var appElement = jqLite('<div data-ng-app="ABC"></div>')[0];
element.querySelectorAll = function(arg) { return element.querySelectorAll[arg] || []; }
element.querySelectorAll['.ng\\:app'] = [appElement];
@@ -362,7 +362,7 @@ describe('angular', function() {
});
- it('should look for ng-app directive using querySelectorAll', function() {
+ it('should look for ngApp directive using querySelectorAll', function() {
var appElement = jqLite('<div x-ng-app="ABC"></div>')[0];
element.querySelectorAll = function(arg) { return element.querySelectorAll[arg] || []; }
element.querySelectorAll['[ng\\:app]'] = [ appElement ];