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