mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-20 04:11:08 -05:00
fix tests
This commit is contained in:
@@ -13,11 +13,11 @@ class TestBot < Ebooks::Bot
|
|||||||
reply dm, "echo: #{dm.text}"
|
reply dm, "echo: #{dm.text}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def on_mention(tweet, meta)
|
def on_mention(tweet)
|
||||||
reply tweet, "echo: #{meta.mentionless}"
|
reply tweet, "echo: #{meta(tweet).mentionless}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def on_timeline(tweet, meta)
|
def on_timeline(tweet)
|
||||||
reply tweet, "fine tweet good sir"
|
reply tweet, "fine tweet good sir"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user