aboutsummaryrefslogtreecommitdiffstats
path: root/test/ScenarioSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ScenarioSpec.js')
-rw-r--r--test/ScenarioSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ScenarioSpec.js b/test/ScenarioSpec.js
index e91e0b98..54c99f77 100644
--- a/test/ScenarioSpec.js
+++ b/test/ScenarioSpec.js
@@ -40,7 +40,7 @@ describe("ScenarioSpec: Compilation", function(){
var $location = scope.$service('$location');
var $browser = scope.$service('$browser');
expect($location.hashSearch.book).toBeUndefined();
- $browser.setUrl(url);
+ $browser.url(url);
$browser.poll();
expect($location.hashSearch.book).toEqual('moby');
});