diff options
Diffstat (limited to 'spec/controllers/sessions_controller_spec.rb')
-rw-r--r-- | spec/controllers/sessions_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/sessions_controller_spec.rb b/spec/controllers/sessions_controller_spec.rb index f3e2ea50913..af2e452c0ca 100644 --- a/spec/controllers/sessions_controller_spec.rb +++ b/spec/controllers/sessions_controller_spec.rb @@ -153,7 +153,7 @@ describe SessionsController do it 'returns status 403' do post(:create, params: { user: user_params }) - expect(response.status).to eq 403 + expect(response).to have_gitlab_http_status(:forbidden) end end |