test($location): add assertion
This commit is contained in:
@@ -711,6 +711,7 @@ describe('$location', function() {
|
||||
inject(function($browser, $location, $window) {
|
||||
expect($browser.url()).toBe('http://new.com/#');
|
||||
expect($location.absUrl()).toBe('http://new.com/');
|
||||
expect($window.location.href).toBe('http://new.com/#');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user