diff options
Diffstat (limited to 'test/ResourceSpec.js')
| -rw-r--r-- | test/ResourceSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ResourceSpec.js b/test/ResourceSpec.js index 0c7af00a..91900a91 100644 --- a/test/ResourceSpec.js +++ b/test/ResourceSpec.js @@ -61,7 +61,7 @@ describe("resource", function() { beforeEach(function(){ xhr = new MockXHR(); - resource = new ResourceFactory(_(xhr.method).bind(xhr)); + resource = new ResourceFactory(bind(xhr, xhr.method)); CreditCard = resource.route('/CreditCard/:id:verb', {id:'@id.key'}, { charge:{ method:'POST', |
