Check for 404 from spec rather than failure
This commit is contained in:
parent
addc85cd08
commit
fc00032ec8
|
@ -19,7 +19,7 @@ RSpec.describe "OmniAuth Callbacks" do
|
|||
context "without an `omniauth.auth` env" do
|
||||
it "should return a 404" do
|
||||
get "/auth/eviltrout/callback"
|
||||
expect(response).not_to be_success
|
||||
expect(response.code).to eq("404")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue