Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit a62c7b8

Browse files
committed
test(locationSpec): fix broken tests after vojta's commit
1 parent 62cfedb commit a62c7b8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/ng/locationSpec.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,8 @@ describe('$location', function() {
10381038
bind: function(event, handler) {
10391039
expect(event).toEqual('click');
10401040
clickHandler = handler;
1041-
}
1041+
},
1042+
unbind: angular.noop
10421043
});
10431044
return function($browser) {
10441045
$browser.url(base = 'http://server/');
@@ -1067,7 +1068,8 @@ describe('$location', function() {
10671068
bind: function(event, handler) {
10681069
expect(event).toEqual('click');
10691070
clickHandler = handler;
1070-
}
1071+
},
1072+
unbind: angular.noop
10711073
});
10721074
return function($browser) {
10731075
$browser.url(base = 'http://server/');

0 commit comments

Comments
 (0)