Skip to content
Snippets Groups Projects
Commit b4349fd3 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Remove one assertion from projects controller specs

parent 7b0e7973
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -221,8 +221,8 @@ describe ProjectsController do
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
Loading
Loading
@@ -238,7 +238,6 @@ describe ProjectsController do
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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment