diff options
| author | Igor Minar | 2012-08-30 16:25:02 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-08-30 16:54:07 -0700 |
| commit | 2cab2d8ef1c2ad2aa919b5a8ad5948977a1b6b84 (patch) | |
| tree | 34a9ffe44a9c39915283895a9326956405a8bde0 /test/ng/locationSpec.js | |
| parent | 8fa2bb72bc010c9967f41e2ba80088d7ed413e37 (diff) | |
| download | angular.js-2cab2d8ef1c2ad2aa919b5a8ad5948977a1b6b84.tar.bz2 | |
test(locationSpec): fix broken tests after vojta's commit
Diffstat (limited to 'test/ng/locationSpec.js')
| -rw-r--r-- | test/ng/locationSpec.js | 6 |
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/'); |
