aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/locationSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/locationSpec.js')
-rw-r--r--test/ng/locationSpec.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/ng/locationSpec.js b/test/ng/locationSpec.js
index b66f689b..ff823d30 100644
--- a/test/ng/locationSpec.js
+++ b/test/ng/locationSpec.js
@@ -1487,16 +1487,6 @@ describe('$location', function() {
expect(location.url()).toBe('/not-starting-with-slash');
expect(location.absUrl()).toBe('http://server/pre/index.html#/not-starting-with-slash');
});
-
-
- it("should return / for path for the application root path", function() {
- location = new LocationHashbangUrl('http://server/pre/index.html', '#');
- location.$$parse('http://server/pre/index.html');
- expect(location.path()).toBe('/');
-
- location.$$parse('http://server/pre/');
- expect(location.path()).toBe('/');
- });
});