diff options
| author | Igor Minar | 2012-08-30 16:25:02 -0700 | 
|---|---|---|
| committer | Igor Minar | 2012-08-30 16:25:23 -0700 | 
| commit | a62c7b8b4eaba2979e19c3b0438d67fcdc5f9e1a (patch) | |
| tree | 91511a5b37ac49fb81822d510680457448a8ea6a | |
| parent | 62cfedbe0cae33d3d52830df2aa56958e0486b8b (diff) | |
| download | angular.js-a62c7b8b4eaba2979e19c3b0438d67fcdc5f9e1a.tar.bz2 | |
test(locationSpec): fix broken tests after vojta's commit
| -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/'); | 
