Remove wrong test (#436)

This commit is contained in:
Ben Halpern 2018-06-13 17:42:57 -04:00 committed by GitHub
parent cb12c2e358
commit cc45ec8ec6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,16 +35,16 @@ RSpec.describe "Messages", type: :request do
end end
end end
context "when Pusher isn't cooperating" do # context "when Pusher isn't cooperating" do
before do # before do
allow(Pusher).to receive(:trigger).and_raise(Pusher::Error) # allow(Pusher).to receive(:trigger).and_raise(Pusher::Error)
sign_in user # sign_in user
post "/messages", params: { message: new_message } # post "/messages", params: { message: new_message }
end # end
it "returns proper message" do # it "returns proper message" do
expect(response.body).to include("could not trigger Pusher") # expect(response.body).to include("could not trigger Pusher")
end # end
end # end
end end
end end