aboutsummaryrefslogtreecommitdiffstats
path: root/test/delete/WidgetsTest.js
diff options
context:
space:
mode:
authorMisko Hevery2010-07-13 11:20:11 -0700
committerMisko Hevery2010-07-13 11:20:11 -0700
commit87cfc27be331685043ea2a4414eba4fd8fbb4a2c (patch)
treee0c2e5c5919a3177816a30a602d8fc3971df0d4d /test/delete/WidgetsTest.js
parent228b54aa2ea9c5faf9280f39317fdf07b2d49580 (diff)
downloadangular.js-87cfc27be331685043ea2a4414eba4fd8fbb4a2c.tar.bz2
changed remaining ng- to ng:
Diffstat (limited to 'test/delete/WidgetsTest.js')
-rw-r--r--test/delete/WidgetsTest.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/delete/WidgetsTest.js b/test/delete/WidgetsTest.js
index 9acc6126..ccc87afd 100644
--- a/test/delete/WidgetsTest.js
+++ b/test/delete/WidgetsTest.js
@@ -1,7 +1,7 @@
WidgetTest = TestCase('WidgetTest');
WidgetTest.prototype.testRequired = function () {
- var view = $('<input name="a" ng-required>');
+ var view = $('<input name="a" ng:required>');
var scope = new Scope({$invalidWidgets:[]});
var cntl = new TextController(view[0], 'a', angularFormatter.noop);
cntl.updateView(scope);
@@ -14,7 +14,7 @@ WidgetTest.prototype.testRequired = function () {
};
WidgetTest.prototype.testValidator = function () {
- var view = $('<input name="a" ng-validate="testValidator:\'ABC\'">');
+ var view = $('<input name="a" ng:validate="testValidator:\'ABC\'">');
var scope = new Scope({$invalidWidgets:[]});
var cntl = new TextController(view[0], 'a', angularFormatter.noop);
angular.validator.testValidator = function(value, expect){
@@ -42,7 +42,7 @@ WidgetTest.prototype.testValidator = function () {
};
WidgetTest.prototype.testRequiredValidator = function () {
- var view = $('<input name="a" ng-required ng-validate="testValidator:\'ABC\'">');
+ var view = $('<input name="a" ng:required ng:validate="testValidator:\'ABC\'">');
var scope = new Scope({$invalidWidgets:[]});
var cntl = new TextController(view[0], 'a', angularFormatter.noop);
angular.validator.testValidator = function(value, expect){