aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/ng/locationSpec.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/ng/locationSpec.js b/test/ng/locationSpec.js
index cdad1f1f..17ae13f3 100644
--- a/test/ng/locationSpec.js
+++ b/test/ng/locationSpec.js
@@ -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/');