diff options
| author | Misko Hevery | 2010-07-13 11:20:11 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-07-13 11:20:11 -0700 |
| commit | 87cfc27be331685043ea2a4414eba4fd8fbb4a2c (patch) | |
| tree | e0c2e5c5919a3177816a30a602d8fc3971df0d4d /test/ValidatorsTest.js | |
| parent | 228b54aa2ea9c5faf9280f39317fdf07b2d49580 (diff) | |
| download | angular.js-87cfc27be331685043ea2a4414eba4fd8fbb4a2c.tar.bz2 | |
changed remaining ng- to ng:
Diffstat (limited to 'test/ValidatorsTest.js')
| -rw-r--r-- | test/ValidatorsTest.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ValidatorsTest.js b/test/ValidatorsTest.js index 573c340d..2e156f84 100644 --- a/test/ValidatorsTest.js +++ b/test/ValidatorsTest.js @@ -7,7 +7,7 @@ ValidatorTest.prototype.testItShouldHaveThisSet = function() { validator.last = last; validator._this = this; }; - var scope = compile('<input name="name" ng-validate="myValidator:\'hevery\'"/>'); + var scope = compile('<input name="name" ng:validate="myValidator:\'hevery\'"/>'); scope.name = 'misko'; scope.$init(); assertEquals('misko', validator.first); @@ -109,7 +109,7 @@ describe('Validator:asynchronous', function(){ it('should make a request and show spinner', function(){ var value, fn; - var scope = compile('<input type="text" name="name" ng-validate="asynchronous:asyncFn"/>'); + var scope = compile('<input type="text" name="name" ng:validate="asynchronous:asyncFn"/>'); scope.$init(); var input = scope.$element; scope.asyncFn = function(v,f){ @@ -151,7 +151,7 @@ describe('Validator:asynchronous', function(){ }); it("should handle update function", function(){ - var scope = angular.compile('<input name="name" ng-validate="asynchronous:asyncFn:updateFn"/>'); + var scope = angular.compile('<input name="name" ng:validate="asynchronous:asyncFn:updateFn"/>'); scope.asyncFn = jasmine.createSpy(); scope.updateFn = jasmine.createSpy(); scope.name = 'misko'; |
