13 lines
349 B
Ruby
13 lines
349 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :project_namespace, class: 'Namespaces::ProjectNamespace' do
|
|
project
|
|
parent { project.namespace }
|
|
visibility_level { project.visibility_level }
|
|
name { project.name }
|
|
path { project.path }
|
|
type { Namespaces::ProjectNamespace.sti_name }
|
|
owner { nil }
|
|
end
|
|
end
|