aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario/dslSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2010-10-23 13:10:42 -0700
committerMisko Hevery2010-10-23 13:12:45 -0700
commit6ddcf918610c1dd094a964fc03e129a67f17dfaa (patch)
treeba690c591b40c97f86d0aef9a2a160e46356a7f0 /test/scenario/dslSpec.js
parent8a867cee229b78f5bfde6a05fdbe0d7d3d608e11 (diff)
downloadangular.js-6ddcf918610c1dd094a964fc03e129a67f17dfaa.tar.bz2
Fix test which was causing the Chrome runner to fail. Upgraded JSTD to latest. Cleanup whitespace.
Diffstat (limited to 'test/scenario/dslSpec.js')
-rw-r--r--test/scenario/dslSpec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/scenario/dslSpec.js b/test/scenario/dslSpec.js
index e3e06b3e..b9d59fe4 100644
--- a/test/scenario/dslSpec.js
+++ b/test/scenario/dslSpec.js
@@ -190,7 +190,9 @@ describe("angular.scenario.dsl", function() {
describe('Element', function() {
it('should execute click', function() {
var clicked;
- doc.append('<a href=""></a>');
+ // Hash is important, otherwise we actually
+ // go to a different page and break the runner
+ doc.append('<a href="#"></a>');
doc.find('a').click(function() {
clicked = true;
});