Permalink
Browse files

[test] Testing Resource.new method

  • Loading branch information...
pksunkara committed Jan 5, 2012
1 parent 0a7addc commit 827f13209fe651b0ee3f5e9c4c93984df1f5f5dd
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/resourceful-test.js
View
@@ -13,6 +13,7 @@ vows.describe('resourceful').addVows({
},
"and has the create/get/all/find methods": function (Factory) {
assert.isFunction(Factory.create);
+ assert.isFunction(Factory.new);
assert.isFunction(Factory.destroy);
assert.isFunction(Factory.get);
assert.isFunction(Factory.all);

0 comments on commit 827f132

Please sign in to comment.