Welcome to mirror list, hosted at ThFree Co, Russian Federation.

project_namespaces.rb « namespaces « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 10b86f480901ca70cc686dce82935542fc53534d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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