diff options
Diffstat (limited to 'test/scenario/dslSpec.js')
| -rw-r--r-- | test/scenario/dslSpec.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/scenario/dslSpec.js b/test/scenario/dslSpec.js index c757d8a4..d085256c 100644 --- a/test/scenario/dslSpec.js +++ b/test/scenario/dslSpec.js @@ -543,6 +543,13 @@ describe("angular.scenario.dsl", function() { expect(_jQuery('input[ng\\:model="test.input"]').val()).toEqual('foo'); }); + it('should change value in text input in dash form', function() { + doc.append('<input ng-model="test.input" value="something">'); + var chain = $root.dsl.input('test.input'); + chain.enter('foo'); + expect(_jQuery('input[ng-model="test.input"]').val()).toEqual('foo'); + }); + it('should return error if no input exists', function() { var chain = $root.dsl.input('test.input'); chain.enter('foo'); |
