test($location): fix test of {rewriteLinks:false}

The test for not rewriting links was invalid and just happened to be
passing by chance (false-positive).
This commit is contained in:
Peter Bacon Darwin
2014-11-10 12:32:42 +00:00
parent 446e5669a1
commit 3f07eb227d

View File

@@ -1298,7 +1298,7 @@ describe('$location', function() {
it ('should not rewrite links when rewriting links is disabled', function() {
configureService('/a?b=c', true, true, '', 'some content', false);
configureService({linkHref: 'link?a#b', html5Mode: {enabled: true, rewriteLinks:false}, supportHist: true});
inject(
initBrowser(),
initLocation(),