spec/dsl_spec.rb in chatterbot-0.2.1 vs spec/dsl_spec.rb in chatterbot-0.2.2
- old
+ new
@@ -43,15 +43,15 @@
end
end
it "#search passes along to bot object" do
- @bot.should_receive(:search).with("foo")
+ @bot.should_receive(:search).with("foo", { })
search("foo")
end
it "#search passes along to bot object" do
- @bot.should_receive(:search).with(["foo","bar"])
+ @bot.should_receive(:search).with(["foo","bar"], { })
search(["foo","bar"])
end
it "#replies passes along to bot object" do
@bot.should_receive(:replies)