diff options
| author | Shyam Seshadri | 2010-08-14 00:45:56 +0800 |
|---|---|---|
| committer | Misko Hevery | 2010-08-13 10:13:03 -0700 |
| commit | 1f230bf3f55fc8541423dfa9fc0bc91f50c000a3 (patch) | |
| tree | 4367aa6d53832db608a0de2df9d3b42a5ffc97db /test/scenario/DSLSpec.js | |
| parent | 669d8241b2ea61122aee3e45f67694e65596a2dd (diff) | |
| download | angular.js-1f230bf3f55fc8541423dfa9fc0bc91f50c000a3.tar.bz2 | |
Revert click dsl, since what is returned by element is a jquery object
Diffstat (limited to 'test/scenario/DSLSpec.js')
| -rw-r--r-- | test/scenario/DSLSpec.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/scenario/DSLSpec.js b/test/scenario/DSLSpec.js index 9bf6d31d..ccd9e32b 100644 --- a/test/scenario/DSLSpec.js +++ b/test/scenario/DSLSpec.js @@ -174,12 +174,5 @@ describe("DSL", function() { expect(future.value.text()).toEqual('Details...'); expect(future.value.attr('ng:bind')).toEqual('report.description'); }); - it('should be able to click elements', function(){ - var future = element('.link-class').click(); - expect(future.name).toEqual("Click element '.link-class'"); - executeFuture(future, html, function(value) { future.fulfill(value); }); - expect(future.fulfilled).toBeTruthy(); - // TODO(rajat): look for some side effect from click happening? - }); }); }); |
