aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario/dslSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2010-11-07 13:04:48 -0800
committerMisko Hevery2010-11-07 13:06:55 -0800
commit91b6c5f7ffaa19f967547ae3916641fed9e0f04c (patch)
tree24be352f7e30519848e1364db5ea2dd6ff87e983 /test/scenario/dslSpec.js
parent5be325a0c1a660268d29541bc668d9cb7d641fcb (diff)
downloadangular.js-91b6c5f7ffaa19f967547ae3916641fed9e0f04c.tar.bz2
Added documentation for validators.
BACKWARD INCOMPATIBLE: removed ssn validators, since it is unlikely that most people will need it and if they do, they can added it thorough RegExp
Diffstat (limited to 'test/scenario/dslSpec.js')
-rw-r--r--test/scenario/dslSpec.js2
1 files changed, 1 insertions, 1 deletions
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');
});