spec/followers_spec.rb in chatterbot-0.7.0 vs spec/followers_spec.rb in chatterbot-0.7.1
- old
+ new
@@ -8,10 +8,10 @@
end
it "returns followers" do
bot = test_bot
bot.should_receive(:require_login).and_return(true)
- bot.stub!(:client).and_return(fake_followers(3))
+ bot.stub(:client).and_return(fake_followers(3))
result = bot.followers
result.size.should == 3
result[0].name.should == "Follower 1"
end