diff --git a/spec/bot_spec.rb b/spec/bot_spec.rb index 3a470f7..b0ca427 100644 --- a/spec/bot_spec.rb +++ b/spec/bot_spec.rb @@ -9,7 +9,7 @@ class TestBot < Ebooks::Bot def configure end - def on_direct_message(dm) + def on_message(dm) reply dm, "echo: #{dm.text}" end