test(locationSpec): fix broken tests after vojta's commit

This commit is contained in:
Igor Minar 2012-08-30 16:25:02 -07:00
parent 62cfedbe0c
commit a62c7b8b4e

View file

@ -1038,7 +1038,8 @@ describe('$location', function() {
bind: function(event, handler) {
expect(event).toEqual('click');
clickHandler = handler;
}
},
unbind: angular.noop
});
return function($browser) {
$browser.url(base = 'http://server/');
@ -1067,7 +1068,8 @@ describe('$location', function() {
bind: function(event, handler) {
expect(event).toEqual('click');
clickHandler = handler;
}
},
unbind: angular.noop
});
return function($browser) {
$browser.url(base = 'http://server/');