diff options
Diffstat (limited to 'test/directive/ngInitSpec.js')
| -rw-r--r-- | test/directive/ngInitSpec.js | 6 |
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); })); }); |
