diff --git a/spec/requests/finish_installation_controller_spec.rb b/spec/requests/finish_installation_controller_spec.rb index 6e0ae2abfc3..08f1f956c50 100644 --- a/spec/requests/finish_installation_controller_spec.rb +++ b/spec/requests/finish_installation_controller_spec.rb @@ -7,7 +7,7 @@ RSpec.describe FinishInstallationController do it "doesn't allow access" do get "/finish-installation" - expect(response).to be_forbidden + expect(response.status).to eq(403) end end @@ -27,7 +27,7 @@ RSpec.describe FinishInstallationController do it "doesn't allow access" do get "/finish-installation/register" - expect(response).to be_forbidden + expect(response.status).to eq(403) end end