Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Fargher <proglottis@gmail.com>2019-05-03 00:30:53 +0300
committerJames Fargher <proglottis@gmail.com>2019-05-06 23:37:04 +0300
commitc40a99a05842d0976dd1bca532fbc67c0ccee04d (patch)
treea3d126281982d9efa18aac1842ea5a6734d9fd8c /spec/controllers/concerns/enforces_admin_authentication_spec.rb
parent265dee5cc6a298370d708acdd11ee56997667332 (diff)
Change specs to match gitlab code standards
Diffstat (limited to 'spec/controllers/concerns/enforces_admin_authentication_spec.rb')
-rw-r--r--spec/controllers/concerns/enforces_admin_authentication_spec.rb2
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