mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-05 08:59:35 +08:00
@@ -530,8 +530,15 @@ describe("angular.scenario.dsl", function() {
|
||||
chain.select('foo');
|
||||
expect($root.futureError).toMatch(/did not match/);
|
||||
});
|
||||
});
|
||||
|
||||
describe('val', function() {
|
||||
it('should return value in text input', function() {
|
||||
doc.append('<input name="test.input" value="something">');
|
||||
$root.dsl.input('test.input').val();
|
||||
expect($root.futureResult).toEqual("something");
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('Textarea', function() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user