aboutsummaryrefslogtreecommitdiffstats
path: root/test/directive/ngInitSpec.js
diff options
context:
space:
mode:
authorIgor Minar2012-03-09 00:00:05 -0800
committerIgor Minar2012-03-09 16:14:26 -0800
commitf4d338d393dabb49182d40b4fe90c4d1b51621c0 (patch)
tree6c20fbef9865869e9db44f27c53aec11f1e30d5e /test/directive/ngInitSpec.js
parent0bfaa579c04d1b7cd21fbe16bfbc47a684f223b3 (diff)
downloadangular.js-f4d338d393dabb49182d40b4fe90c4d1b51621c0.tar.bz2
chore(*): refactor all ng: to ng-
Diffstat (limited to 'test/directive/ngInitSpec.js')
-rw-r--r--test/directive/ngInitSpec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/directive/ngInitSpec.js b/test/directive/ngInitSpec.js
index b096c7fd..92146089 100644
--- a/test/directive/ngInitSpec.js
+++ b/test/directive/ngInitSpec.js
@@ -1,6 +1,6 @@
'use strict';
-describe('ng:init', function() {
+describe('ng-init', function() {
var element;
@@ -9,8 +9,8 @@ describe('ng:init', function() {
});
- it("should ng:init", inject(function($rootScope, $compile) {
- element = $compile('<div ng:init="a=123"></div>')($rootScope);
+ it("should ng-init", inject(function($rootScope, $compile) {
+ element = $compile('<div ng-init="a=123"></div>')($rootScope);
expect($rootScope.a).toEqual(123);
}));
});