spec/client_spec.rb in chatterbot-0.6.6 vs spec/client_spec.rb in chatterbot-0.7.0

- old
+ new

@@ -8,12 +8,12 @@ describe "reset_since_id" do it "runs a search to get a new max_id" do bot = test_bot - bot.stub!(:search_client).and_return(fake_search(100, 1)) - bot.search_client.should_receive(:search).with("a") - bot.search("a") + bot.stub!(:client).and_return(fake_search(100, 1)) + bot.client.should_receive(:search).with("a") +# bot.search("a") bot.reset_since_id bot.config[:tmp_since_id].should == 100 end end