diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ValidatorsTest.js | 6 | ||||
| -rw-r--r-- | test/scenario/dslSpec.js | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/test/ValidatorsTest.js b/test/ValidatorsTest.js index 463e05de..cc77b6da 100644 --- a/test/ValidatorsTest.js +++ b/test/ValidatorsTest.js @@ -69,12 +69,6 @@ ValidatorTest.prototype.testPhone = function() { assertEquals(null, angular.validator.phone("+421 0905 933 297")); }; -ValidatorTest.prototype.testSSN = function() { - var error = "SSN needs to be in 999-99-9999 format."; - assertEquals(angular.validator.ssn("ab"), error); - assertEquals(angular.validator.ssn("123-45-6789"), null); -}; - ValidatorTest.prototype.testURL = function() { var error = "URL needs to be in http://server[:port]/path format."; assertEquals(angular.validator.url("ab"), error); diff --git a/test/scenario/dslSpec.js b/test/scenario/dslSpec.js index f9833e8b..e33cd056 100644 --- a/test/scenario/dslSpec.js +++ b/test/scenario/dslSpec.js @@ -509,7 +509,7 @@ describe("angular.scenario.dsl", function() { it('should change value in textarea', function() { doc.append('<textarea name="test.textarea">something</textarea>'); - var chain = $root.dsl.textarea('test.textarea'); + var chain = $root.dsl.input('test.textarea'); chain.enter('foo'); expect(_jQuery('textarea[name="test.textarea"]').val()).toEqual('foo'); }); |
