aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/directive/ngInitSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/directive/ngInitSpec.js')
-rw-r--r--test/ng/directive/ngInitSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ng/directive/ngInitSpec.js b/test/ng/directive/ngInitSpec.js
index 92146089..00038621 100644
--- a/test/ng/directive/ngInitSpec.js
+++ b/test/ng/directive/ngInitSpec.js
@@ -1,6 +1,6 @@
'use strict';
-describe('ng-init', function() {
+describe('ngInit', function() {
var element;
@@ -9,7 +9,7 @@ describe('ng-init', function() {
});
- it("should ng-init", inject(function($rootScope, $compile) {
+ it("should init model", inject(function($rootScope, $compile) {
element = $compile('<div ng-init="a=123"></div>')($rootScope);
expect($rootScope.a).toEqual(123);
}));