Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[tests] Commented out multi-id gets for now

  • Loading branch information...
commit 88ffef513e0bb0dbd922d4db4b71f5a89d488cf4 1 parent 376bb26
Marak Marak authored
Showing with 18 additions and 1 deletion.
  1. +18 −1 test/socketful-api-test.js
19 test/socketful-api-test.js
View
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.