diff options
Diffstat (limited to 'test/scenario/dslSpec.js')
| -rw-r--r-- | test/scenario/dslSpec.js | 4 | 
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;          });  | 
