mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-18 07:50:52 +08:00
test(locationSpec): fix broken tests after vojta's commit
This commit is contained in:
@@ -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/');
|
||||
|
||||
Reference in New Issue
Block a user