From fc00032ec82ec33bb1f48c1534d2f3b463f07294 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 8 May 2017 16:33:43 -0400 Subject: [PATCH] Check for 404 from spec rather than failure --- spec/integration/omniauth_callbacks_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/integration/omniauth_callbacks_spec.rb b/spec/integration/omniauth_callbacks_spec.rb index b57d4eda2cc..a1956eca6a1 100644 --- a/spec/integration/omniauth_callbacks_spec.rb +++ b/spec/integration/omniauth_callbacks_spec.rb @@ -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