Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8b4ffdd

Browse files
Mohamed5amyNarretz
authored andcommitted
docs(tutorial/7 - Routing): fix matching in test
It is corrected in github, but not in the angular.org site. Copied it from angular/angular-phonecat@step-6...step-7 Closes #12314
1 parent e57240d commit 8b4ffdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/tutorial/step_07.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ to various URLs and verify that the correct view was rendered.
313313
it('should redirect index.html to index.html#/phones', function() {
314314
browser.get('app/index.html');
315315
browser.getLocationAbsUrl().then(function(url) {
316-
expect(url.split('#')[1]).toBe('/phones');
316+
expect(url).toEqual('/phones');
317317
});
318318
});
319319

0 commit comments

Comments
 (0)