diff options
Diffstat (limited to 'src/scenario/DSL.js')
| -rw-r--r-- | src/scenario/DSL.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scenario/DSL.js b/src/scenario/DSL.js index 0607238c..dc85ea45 100644 --- a/src/scenario/DSL.js +++ b/src/scenario/DSL.js @@ -24,7 +24,7 @@ angular.scenario.dsl.browser = { href: "", hash: "", toEqual: function(url) { - return (this.hash == "" ? (url == this.href) : + return (this.hash === "" ? (url == this.href) : (url == (this.href + "/#/" + this.hash))); }, setLocation: function(url) { @@ -56,7 +56,7 @@ angular.scenario.dsl.input = function(selector) { }); } }; -}, +}; angular.scenario.dsl.NG_BIND_PATTERN =/\{\{[^\}]+\}\}/; |
