Commit 14858471 authored by Małgorzata Ksionek's avatar Małgorzata Ksionek

Refactor specs according to the code review

parent 3a374892
...@@ -383,7 +383,7 @@ describe ProjectsController do ...@@ -383,7 +383,7 @@ describe ProjectsController do
id:, id:,
project: params project: params
} }
end.not_to change {project.reload.namespace} end.not_to change { project.namespace.reload }
end end
def update_project(**parameters) def update_project(**parameters)
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