test($location): add assertion

This commit is contained in:
George Kalpakas
2018-07-19 18:11:06 +03:00
parent 8562a62197
commit 2907798ca5
+1
View File
@@ -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/#');
});
});