Cinch::Test
Usage
-
require 'cinch/test'and include the moduleCinch::Testin your test scope - Make a bot with
make_bot(plugin, plugin_opts)(you can pass a block to further configure the bot) - Make a message with
make_message(bot, 'message text') - Stub things out on the message as you like, then collect all the replies
with
get_replies(message)