aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario/DSLSpec.js
diff options
context:
space:
mode:
authorShyam Seshadri2010-08-13 09:45:56 -0700
committerShyam Seshadri2010-08-13 09:45:56 -0700
commit2767d7773f2e480552e9968eded31bd2b08bec71 (patch)
tree542e0d22ec985da2cf93fa8a780d085263be9a24 /test/scenario/DSLSpec.js
parent577ddaa5392dfad3b984515de0ad9262764a8721 (diff)
downloadangular.js-2767d7773f2e480552e9968eded31bd2b08bec71.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.js7
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?
- });
});
});