Commit 881bc45a authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix rubocop offense in projects controller specs

parent 14fbff00
...@@ -238,7 +238,7 @@ describe ProjectsController do ...@@ -238,7 +238,7 @@ describe ProjectsController do
expect { update_project path: 'renamed_path' } expect { update_project path: 'renamed_path' }
.not_to change { project.reload.path } .not_to change { project.reload.path }
expect(project.reload.path).to_not include 'renamed_path' expect(project.reload.path).not_to include 'renamed_path'
expect(controller).to set_flash[:alert].to(/container registry tags/) expect(controller).to set_flash[:alert].to(/container registry tags/)
expect(response).to have_http_status(200) expect(response).to have_http_status(200)
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