diff options
Diffstat (limited to 'spec/controllers/concerns/enforces_admin_authentication_spec.rb')
-rw-r--r-- | spec/controllers/concerns/enforces_admin_authentication_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/concerns/enforces_admin_authentication_spec.rb b/spec/controllers/concerns/enforces_admin_authentication_spec.rb index 9025293f9ea..e6a6702fdea 100644 --- a/spec/controllers/concerns/enforces_admin_authentication_spec.rb +++ b/spec/controllers/concerns/enforces_admin_authentication_spec.rb @@ -24,6 +24,7 @@ describe EnforcesAdminAuthentication do it 'renders ok' do get :index + expect(response).to have_gitlab_http_status(200) end end @@ -31,6 +32,7 @@ describe EnforcesAdminAuthentication do context 'as a user' do it 'renders a 404' do get :index + expect(response).to have_gitlab_http_status(404) end end |