mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Check for 404 from spec rather than failure
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user