slack-ruby-bot
slack-ruby-bot copied to clipboard
Testing hooks
Howdy @dblock I'm creating an implementation based off of this for my team. I need to use hooks, and would like to test them in rspec. I've been digging through the source code, and been trying to roll my own solution, but I'm not very happy with it so far. I was wondering if someone has a sexy way of mocking a hook? Thanks!
Did you dig through https://github.com/slack-ruby/slack-ruby-bot/tree/master/spec/slack-ruby-bot/hooks? Maybe an RSpec helper could do better, PRs welcome.