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