spec/tweet_spec.rb in chatterbot-0.2.5 vs spec/tweet_spec.rb in chatterbot-0.2.6

- old
+ new

@@ -52,11 +52,11 @@ bot.stub!(:debug_mode?).and_return(false) test_str = "test!" s = { - 'id' => 100 + :id => 100 } bot.client.should_receive(:update).with(test_str, {:in_reply_to_status_id => 100}) bot.reply test_str, s end @@ -67,10 +67,10 @@ bot.stub!(:client).and_return(mock(TwitterOAuth::Client)) bot.stub!(:debug_mode?).and_return(true) bot.client.should_not_receive(:update) - bot.reply "no reply test!", {"id" => 100} + bot.reply "no reply test!", {:id => 100} end end end