tinybot
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "tinybot", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A tiny wrapper around the Slack RTM API that provides methods to listen for and send slack messages.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -160,14 +160,1 @@ var expect = require('expect'); | ||
}) | ||
function expectConversation(conversation, cb) { | ||
async.series(conversation.map(function(message) { | ||
return function(cb) { | ||
if( !!message.response ) { | ||
return slub.socket.shouldReceive(message.response, cb); | ||
} | ||
slub.socket.send(message); | ||
cb(); | ||
} | ||
}), cb); | ||
} |
17289
403