spec/retweet_spec.rb in chatterbot-0.7.0 vs spec/retweet_spec.rb in chatterbot-0.7.1

- old
+ new

@@ -13,12 +13,12 @@ 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(Twitter::Client)) + bot.stub(:client).and_return(mock(Twitter::Client)) - bot.stub!(:debug_mode?).and_return(false) + bot.stub(:debug_mode?).and_return(false) tweet_id = 12345 bot.client.should_receive(:retweet).with(tweet_id) bot.retweet(tweet_id) end