spec/db_spec.rb in chatterbot-0.7.0 vs spec/db_spec.rb in chatterbot-0.7.1
- old
+ new
@@ -21,10 +21,10 @@
end
context "db interactions" do
before(:each) do
@bot = Chatterbot::Bot.new
- @bot.stub!(:update_config_at_exit)
+ @bot.stub(:update_config_at_exit)
@bot.config[:db_uri] = @db_uri
end
after(:each) do
@bot.db.disconnect unless @bot.db.nil?