summaryrefslogtreecommitdiff
path: root/spec/factories/namespaces/project_namespaces.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/namespaces/project_namespaces.rb')
-rw-r--r--spec/factories/namespaces/project_namespaces.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/namespaces/project_namespaces.rb b/spec/factories/namespaces/project_namespaces.rb
index ca9fc5f8768..6bf17088741 100644
--- a/spec/factories/namespaces/project_namespaces.rb
+++ b/spec/factories/namespaces/project_namespaces.rb
@@ -2,7 +2,7 @@
FactoryBot.define do
factory :project_namespace, class: 'Namespaces::ProjectNamespace' do
- project
+ association :project, factory: :project, strategy: :build
parent { project.namespace }
visibility_level { project.visibility_level }
name { project.name }