summaryrefslogtreecommitdiff
path: root/spec/controllers/projects_controller_spec.rb
diff options
context:
space:
mode:
authorMałgorzata Ksionek <meksionek@gmail.com>2019-03-26 09:30:16 +0100
committerMałgorzata Ksionek <meksionek@gmail.com>2019-03-26 09:30:16 +0100
commitb641c654b19f6ac9374fe256802cf3ae5c3f2ed6 (patch)
treee2cb123b42eb69865701c4ef8b872ff16c69beac /spec/controllers/projects_controller_spec.rb
parentb7ecf433888b1cdd03b8c53b5a27ab057c625ca5 (diff)
downloadgitlab-ce-b641c654b19f6ac9374fe256802cf3ae5c3f2ed6.tar.gz
Refactor specs according to the code review
Diffstat (limited to 'spec/controllers/projects_controller_spec.rb')
-rw-r--r--spec/controllers/projects_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb
index 717675d1d30..356d606d5c5 100644
--- a/spec/controllers/projects_controller_spec.rb
+++ b/spec/controllers/projects_controller_spec.rb
@@ -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)