lib/boty/rspec.rb in boty-0.0.3 vs lib/boty/rspec.rb in boty-0.0.4

- old
+ new

@@ -18,13 +18,13 @@ end bot } end + end - def message_event(text) - bot.event "type" => "message", "text" => text - end + def message_event(text) + bot.event "type" => "message", "text" => text end end ::RSpec::Matchers.define :have_responded do |expected| match do |bot|