aboutsummaryrefslogtreecommitdiffstats
path: root/test/directive/ngCloakSpec.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/ngCloakSpec.js
parent0bfaa579c04d1b7cd21fbe16bfbc47a684f223b3 (diff)
downloadangular.js-f4d338d393dabb49182d40b4fe90c4d1b51621c0.tar.bz2
chore(*): refactor all ng: to ng-
Diffstat (limited to 'test/directive/ngCloakSpec.js')
-rw-r--r--test/directive/ngCloakSpec.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/directive/ngCloakSpec.js b/test/directive/ngCloakSpec.js
index bd911f35..f3c28b60 100644
--- a/test/directive/ngCloakSpec.js
+++ b/test/directive/ngCloakSpec.js
@@ -1,6 +1,6 @@
'use strict';
-describe('ng:cloak', function() {
+describe('ng-cloak', function() {
var element;
@@ -10,16 +10,16 @@ describe('ng:cloak', function() {
it('should get removed when an element is compiled', inject(function($rootScope, $compile) {
- element = jqLite('<div ng:cloak></div>');
- expect(element.attr('ng:cloak')).toBe('');
+ element = jqLite('<div ng-cloak></div>');
+ expect(element.attr('ng-cloak')).toBe('');
$compile(element);
- expect(element.attr('ng:cloak')).toBeUndefined();
+ expect(element.attr('ng-cloak')).toBeUndefined();
}));
it('should remove ng-cloak class from a compiled element with attribute', inject(
function($rootScope, $compile) {
- element = jqLite('<div ng:cloak class="foo ng-cloak bar"></div>');
+ element = jqLite('<div ng-cloak class="foo ng-cloak bar"></div>');
expect(element.hasClass('foo')).toBe(true);
expect(element.hasClass('ng-cloak')).toBe(true);