From 215ab4dc6d11340636e0b9bec646a40a6b16013d Mon Sep 17 00:00:00 2001 From: Jaiden Mispy <^_^@mispy.me> Date: Fri, 5 Dec 2014 23:08:18 +1100 Subject: [PATCH] fix tests --- spec/bot_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/bot_spec.rb b/spec/bot_spec.rb index 6b224ad..3a470f7 100644 --- a/spec/bot_spec.rb +++ b/spec/bot_spec.rb @@ -13,11 +13,11 @@ class TestBot < Ebooks::Bot reply dm, "echo: #{dm.text}" end - def on_mention(tweet, meta) - reply tweet, "echo: #{meta.mentionless}" + def on_mention(tweet) + reply tweet, "echo: #{meta(tweet).mentionless}" end - def on_timeline(tweet, meta) + def on_timeline(tweet) reply tweet, "fine tweet good sir" end end