Permalink
Browse files

[tests] Commented out multi-id gets for now

  • Loading branch information...
1 parent 376bb26 commit 88ffef513e0bb0dbd922d4db4b71f5a89d488cf4 @Marak Marak committed Aug 25, 2012
Showing with 18 additions and 1 deletion.
  1. +18 −1 test/socketful-api-test.js
@@ -124,7 +124,24 @@ vows.describe('socketful/socketful-api-test').addBatch({
assert.equal(result.type, "godzilla")
}
}
-}).addBatch({
+})
+/* TODO
+.addBatch({
+ "get many at once by id" : {
+ topic: function() {
+ client.emit('creature', 'get', { id: ["bob", "larry"] }, this.callback);
+ },
+ 'should not error' : function (err, result) {
+ assert.isNull(err)
+ },
+ 'should return both creatures' : function (err, result) {
+ console.log('sss',err, result)
+ assert.isArray(result);
+ }
+ }
+})
+*/
+.addBatch({
"destroy a creature" : {
topic: function() {
client.emit('creature', 'destroy', { id: "bob" }, this.callback);

0 comments on commit 88ffef5

Please sign in to comment.