aboutsummaryrefslogtreecommitdiffstats
path: root/test/ResourceSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2010-03-29 20:25:42 -0700
committerMisko Hevery2010-03-29 20:25:42 -0700
commite55c97debaa0ef8487ece219b6eadbc147ece1f9 (patch)
tree5895b2151d639efa5fcdb09d396990d6e089c886 /test/ResourceSpec.js
parentc655b884e268c8c9b6853d440143953f51b7e7de (diff)
downloadangular.js-e55c97debaa0ef8487ece219b6eadbc147ece1f9.tar.bz2
dissabled a lot of tests, and made the core test set pass.
Diffstat (limited to 'test/ResourceSpec.js')
-rw-r--r--test/ResourceSpec.js2
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',