Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.0 on 2022-01-18 at 14:00 UTC+1 (a few minutes of down time)

Commit b4349fd3 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Remove one assertion from projects controller specs

parent fce3a5356f34
......@@ -221,8 +221,8 @@
expect { update_project path: 'renamed_path' }
.to change { project.reload.path }
expect(project.reload.path).to include 'renamed_path'
expect(assigns(:repository).path).to include project.reload.path
expect(project.path).to include 'renamed_path'
expect(assigns(:repository).path).to include project.path
expect(response).to have_http_status(302)
end
end
......@@ -238,7 +238,6 @@
expect { update_project path: 'renamed_path' }
.not_to change { project.reload.path }
expect(project.reload.path).not_to include 'renamed_path'
expect(controller).to set_flash[:alert].to(/container registry tags/)
expect(response).to have_http_status(200)
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