Skip to content

Commit bbf6900

Browse files
committed
test($location): add assertion
1 parent 8053bc4 commit bbf6900

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/ng/locationSpec.js

+1
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ describe('$location', function() {
711711
inject(function($browser, $location, $window) {
712712
expect($browser.url()).toBe('http://new.com/#');
713713
expect($location.absUrl()).toBe('http://new.com/');
714+
expect($window.location.href).toBe('http://new.com/#');
714715
});
715716
});
716717

0 commit comments

Comments
 (0)