Commit 3d38d604 authored by jboyson's avatar jboyson

Fix erroneously deleted expectation

parent 94e8c6a5
......@@ -610,6 +610,7 @@ RSpec.describe ProjectsController do
it 'does not show any references to the conflicting path' do
expect { update_project(path: random_name) }.not_to change { project.reload.path }
expect(response).to have_gitlab_http_status(:ok)
expect(response.body).not_to include(random_name)
end
end
......@@ -667,6 +668,7 @@ RSpec.describe ProjectsController do
.not_to change { project.reload.path }
expect(controller).to set_flash[:alert].to(s_('UpdateProject|Cannot rename project because it contains container registry tags!'))
expect(response).to have_gitlab_http_status(:ok)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment