From 4804c83b7db5770d5d02eea9eea4cc012b4aa524 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 14 Dec 2011 02:55:31 +0100 Subject: docs(compiler): update the compiler docs --- test/scenario/dslSpec.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/scenario/dslSpec.js') 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(''); + 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'); -- cgit v1.2.3