template/project/spec/script/ping_spec.rb in boty-0.0.16 vs template/project/spec/script/ping_spec.rb in boty-0.0.17
- old
+ new
@@ -1,7 +1,7 @@
RSpec.describe "bot", "/ping/i", :bot do
it "responds with pong" do
- message_event "<@bot>: ping"
+ message "<@bot>: ping"
expect(bot).to have_responded("pong")
end
end