aboutsummaryrefslogtreecommitdiffstats
path: root/test/BinderTest.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/BinderTest.js
parent228b54aa2ea9c5faf9280f39317fdf07b2d49580 (diff)
downloadangular.js-87cfc27be331685043ea2a4414eba4fd8fbb4a2c.tar.bz2
changed remaining ng- to ng:
Diffstat (limited to 'test/BinderTest.js')
-rw-r--r--test/BinderTest.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/BinderTest.js b/test/BinderTest.js
index ef1ef362..1b1201fa 100644
--- a/test/BinderTest.js
+++ b/test/BinderTest.js
@@ -42,7 +42,7 @@ BinderTest.prototype.testChangingRadioUpdatesModel = function(){
};
BinderTest.prototype.testChangingCheckboxUpdatesModel = function(){
- var form = this.compile('<input type="checkbox" name="model.price" value="true" checked ng-format="boolean"/>');
+ var form = this.compile('<input type="checkbox" name="model.price" value="true" checked ng:format="boolean"/>');
assertEquals(true, form.scope.model.price);
};
@@ -508,8 +508,8 @@ BinderTest.prototype.testFillInOptionValueWhenMissing = function() {
};
BinderTest.prototype.testValidateForm = function() {
- var c = this.compile('<div><input name="name" ng-required>' +
- '<div ng:repeat="item in items"><input name="item.name" ng-required/></div></div>');
+ var c = this.compile('<div><input name="name" ng:required>' +
+ '<div ng:repeat="item in items"><input name="item.name" ng:required/></div></div>');
var items = [{}, {}];
c.scope.$set("items", items);
c.scope.$eval();
@@ -537,7 +537,7 @@ BinderTest.prototype.testValidateForm = function() {
};
BinderTest.prototype.testValidateOnlyVisibleItems = function(){
- var c = this.compile('<div><input name="name" ng-required><input ng:show="show" name="name" ng-required></div>');
+ var c = this.compile('<div><input name="name" ng:required><input ng:show="show" name="name" ng:required></div>');
jqLite(document.body).append(c.node);
c.scope.$set("show", true);
c.scope.$eval();
@@ -660,7 +660,7 @@ BinderTest.prototype.XtestItShouldRenderMultiRootHtmlInBinding = function() {
};
BinderTest.prototype.testItShouldUseFormaterForText = function() {
- var x = this.compile('<input name="a" ng-format="list" value="a,b">');
+ var x = this.compile('<input name="a" ng:format="list" value="a,b">');
x.scope.$eval();
assertEquals(['a','b'], x.scope.$get('a'));
var input = x.node;