diff options
author | Małgorzata Ksionek <meksionek@gmail.com> | 2019-03-26 11:30:16 +0300 |
---|---|---|
committer | Małgorzata Ksionek <meksionek@gmail.com> | 2019-03-26 11:30:16 +0300 |
commit | b641c654b19f6ac9374fe256802cf3ae5c3f2ed6 (patch) | |
tree | e2cb123b42eb69865701c4ef8b872ff16c69beac /spec/controllers | |
parent | b7ecf433888b1cdd03b8c53b5a27ab057c625ca5 (diff) |
Refactor specs according to the code review
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects_controller_spec.rb | 2 |
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) |