spec/lita/handlers/whoami_spec.rb in lita-whoami-0.1.1 vs spec/lita/handlers/whoami_spec.rb in lita-whoami-0.1.2
- old
+ new
@@ -13,8 +13,9 @@
send_command("taylor is a bad programmer")
expect(replies).to_not be_empty
expect(replies.last).to eq "Okay, taylor is a bad programmer!"
send_command("who is taylor")
- expect(replies.last).to eq "taylor is a bad programmer"
+ expect(replies.last).to eq "taylor is a bad programmer"
+ expect(replies.count).to eq 2
end
end