mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
test(locationSpec): fix broken tests after vojta's commit
This commit is contained in:
parent
62cfedbe0c
commit
a62c7b8b4e
1 changed files with 4 additions and 2 deletions
|
|
@ -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/');
|
||||
|
|
|
|||
Loading…
Reference in a new issue