mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 04:35:35 +08:00
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
|
context "without an `omniauth.auth` env" do
|
||||||
it "should return a 404" do
|
it "should return a 404" do
|
||||||
get "/auth/eviltrout/callback"
|
get "/auth/eviltrout/callback"
|
||||||
expect(response).not_to be_success
|
expect(response.code).to eq("404")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user