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: ca9fc5f876804d7f6d7331ba2a96c7f8ebd3b01a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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