diff options
author | James Fargher <proglottis@gmail.com> | 2019-05-03 00:30:53 +0300 |
---|---|---|
committer | James Fargher <proglottis@gmail.com> | 2019-05-06 23:37:04 +0300 |
commit | c40a99a05842d0976dd1bca532fbc67c0ccee04d (patch) | |
tree | a3d126281982d9efa18aac1842ea5a6734d9fd8c /spec/controllers/concerns | |
parent | 265dee5cc6a298370d708acdd11ee56997667332 (diff) |
Change specs to match gitlab code standards
Diffstat (limited to 'spec/controllers/concerns')
-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 |