summaryrefslogtreecommitdiff
path: root/spec/support/matchers/project_namespace_matcher.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/matchers/project_namespace_matcher.rb')
-rw-r--r--spec/support/matchers/project_namespace_matcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers/project_namespace_matcher.rb b/spec/support/matchers/project_namespace_matcher.rb
index 95aa5429679..8666a605276 100644
--- a/spec/support/matchers/project_namespace_matcher.rb
+++ b/spec/support/matchers/project_namespace_matcher.rb
@@ -10,7 +10,7 @@ RSpec::Matchers.define :be_in_sync_with_project do |project|
project_namespace.present? &&
project.name == project_namespace.name &&
project.path == project_namespace.path &&
- project.namespace == project_namespace.parent &&
+ project.namespace_id == project_namespace.parent_id &&
project.visibility_level == project_namespace.visibility_level &&
project.shared_runners_enabled == project_namespace.shared_runners_enabled
end