diff options
| author | Shyam Seshadri | 2010-08-14 01:11:11 +0800 |
|---|---|---|
| committer | Shyam Seshadri | 2010-08-14 01:16:27 +0800 |
| commit | 9260f4867a6d1aaa51585a3efac9d315b74eae53 (patch) | |
| tree | 608d1cff81c5e0c14a4744b75fb95ccbcececfd6 /test/scenario/DSLSpec.js | |
| parent | 867826c3de256e1e23e81cdb362eff6e325130d7 (diff) | |
| download | angular.js-9260f4867a6d1aaa51585a3efac9d315b74eae53.tar.bz2 | |
Fix broken tests for element dsl
Diffstat (limited to 'test/scenario/DSLSpec.js')
| -rw-r--r-- | test/scenario/DSLSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scenario/DSLSpec.js b/test/scenario/DSLSpec.js index ccd9e32b..552e6211 100644 --- a/test/scenario/DSLSpec.js +++ b/test/scenario/DSLSpec.js @@ -159,7 +159,7 @@ describe("DSL", function() { expect(future.fulfilled).toBeTruthy(); } it('should find elements on the page and provide jquery api', function() { - var future = element('.reports-detail').find(); + var future = element('.reports-detail'); expect(future.name).toEqual("Find element '.reports-detail'"); timeTravel(future); expect(future.value.text()). @@ -168,7 +168,7 @@ describe("DSL", function() { toEqual('Description : Details...'); }); it('should find elements with angular syntax', function() { - var future = element('{{report.description}}').find(); + var future = element('{{report.description}}'); expect(future.name).toEqual("Find element '{{report.description}}'"); timeTravel(future); expect(future.value.text()).toEqual('Details...'); |
