diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/scenario/dsl.js | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/scenario/dsl.js b/src/scenario/dsl.js index 4f967772..3f5fa3ba 100644 --- a/src/scenario/dsl.js +++ b/src/scenario/dsl.js @@ -86,19 +86,19 @@ angular.scenario.dsl('browser', function() {      api.search = function() {        return this.addFutureAction('browser url search', function($window, $document, done) { -        done(null, $window.angular.scope().$location.search); +        done(null, $window.angular.scope().$service('$location').search);        });      };      api.hashSearch = function() {        return this.addFutureAction('browser url hash search', function($window, $document, done) { -        done(null, $window.angular.scope().$location.hashSearch); +        done(null, $window.angular.scope().$service('$location').hashSearch);        });      };      api.hashPath = function() {        return this.addFutureAction('browser url hash path', function($window, $document, done) { -        done(null, $window.angular.scope().$location.hashPath); +        done(null, $window.angular.scope().$service('$location').hashPath);        });      }; | 
