debian-mirror-gitlab/spec/factories/namespaces/project_namespaces.rb
2021-11-11 11:23:49 +05:30

12 lines
293 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :project_namespace, class: 'Namespaces::ProjectNamespace' do
project
name { project.name }
path { project.path }
type { Namespaces::ProjectNamespace.sti_name }
owner { nil }
parent factory: :group
end
end