spec/retweet_spec.rb in chatterbot-0.5.1 vs spec/retweet_spec.rb in chatterbot-0.6.1
- old
+ new
@@ -13,15 +13,15 @@
it "calls client.retweet with the right values" do
bot = test_bot
bot.should_receive(:require_login).and_return(true)
- bot.stub!(:client).and_return(mock(TwitterOAuth::Client))
+ bot.stub!(:client).and_return(mock(Twitter::Client))
bot.stub!(:debug_mode?).and_return(false)
tweet_id = 12345
bot.client.should_receive(:retweet).with(tweet_id)
bot.retweet(tweet_id)
end
end
-end
\ No newline at end of file
+end