From abae8f34f377519946a91101ef7abf504454531c Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 31 Mar 2020 21:08:05 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/controllers/groups_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/controllers/groups_controller_spec.rb') diff --git a/spec/controllers/groups_controller_spec.rb b/spec/controllers/groups_controller_spec.rb index 22427f581d4..7bd0f6bd6b8 100644 --- a/spec/controllers/groups_controller_spec.rb +++ b/spec/controllers/groups_controller_spec.rb @@ -32,7 +32,7 @@ describe GroupsController do get :new, params: { parent_id: group.id } expect(response).not_to render_template(:new) - expect(response.status).to eq(404) + expect(response).to have_gitlab_http_status(:not_found) end end @@ -373,7 +373,7 @@ describe GroupsController do delete :destroy, params: { id: group.to_param } - expect(response.status).to eq(404) + expect(response).to have_gitlab_http_status(:not_found) end end -- cgit v1.2.3