aboutsummaryrefslogtreecommitdiffstats
path: root/test/ScenarioSpec.js
diff options
context:
space:
mode:
authorVojta Jina2011-07-12 02:18:17 +0200
committerVojta Jina2011-09-08 23:00:59 +0200
commit22cb600280cecabf719ba1878719c907aa01ba18 (patch)
tree3c2247033a6d722e3b4eea0720ab466589ea247e /test/ScenarioSpec.js
parent5ba227c7cd3ddfcd3bffc3fd15daf8d6ec9b8713 (diff)
downloadangular.js-22cb600280cecabf719ba1878719c907aa01ba18.tar.bz2
fix($route): update $route to reflect $location changes
* update $route to reflect new $location * add some more unit tests to $route * fix some other failing unit tests * redirect overrides the url now Breaks $route custom redirect fn has only 3 params now
Diffstat (limited to 'test/ScenarioSpec.js')
-rw-r--r--test/ScenarioSpec.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/ScenarioSpec.js b/test/ScenarioSpec.js
index 54c99f77..52cfd454 100644
--- a/test/ScenarioSpec.js
+++ b/test/ScenarioSpec.js
@@ -32,17 +32,4 @@ describe("ScenarioSpec: Compilation", function(){
expect(jqLite(scope.$element).text()).toEqual('123');
});
});
-
- describe("configuration", function(){
- it("should take location object", function(){
- var url = "http://server/#?book=moby";
- scope = angular.compile("<div>{{$location}}</div>")();
- var $location = scope.$service('$location');
- var $browser = scope.$service('$browser');
- expect($location.hashSearch.book).toBeUndefined();
- $browser.url(url);
- $browser.poll();
- expect($location.hashSearch.book).toEqual('moby');
- });
- });
});