2021-09-15 15:10:13 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
|
|
|
factory :project_namespace, class: 'Namespaces::ProjectNamespace' do
|
2021-11-10 18:12:35 +00:00
|
|
|
association :project, factory: :project, strategy: :build
|
2021-10-04 18:12:46 +00:00
|
|
|
parent { project.namespace }
|
|
|
|
visibility_level { project.visibility_level }
|
2021-09-15 15:10:13 +00:00
|
|
|
name { project.name }
|
|
|
|
path { project.path }
|
|
|
|
type { Namespaces::ProjectNamespace.sti_name }
|
|
|
|
owner { nil }
|
|
|
|
end
|
|
|
|
end
|