diff options
Diffstat (limited to 'spec/controllers/groups_controller_spec.rb')
-rw-r--r-- | spec/controllers/groups_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |