diff options
| author | Shyam Seshadri | 2010-08-13 09:45:56 -0700 |
|---|---|---|
| committer | Shyam Seshadri | 2010-08-13 09:45:56 -0700 |
| commit | 2767d7773f2e480552e9968eded31bd2b08bec71 (patch) | |
| tree | 542e0d22ec985da2cf93fa8a780d085263be9a24 /test/scenario | |
| parent | 577ddaa5392dfad3b984515de0ad9262764a8721 (diff) | |
| download | angular.js-2767d7773f2e480552e9968eded31bd2b08bec71.tar.bz2 | |
Revert click dsl, since what is returned by element is a jquery object
Diffstat (limited to 'test/scenario')
| -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? - }); }); }); |
