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

Refactor specs according to the code review

parent b7ecf433
......@@ -383,7 +383,7 @@ describe ProjectsController do
id: project.id,
project: params
}
end.not_to change {project.reload.namespace}
end.not_to change { project.namespace.reload }
end
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