mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-20 16:30:26 +00:00
test(locationSpec): fix broken tests after vojta's commit
This commit is contained in:
parent
8fa2bb72bc
commit
2cab2d8ef1
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