debian-mirror-gitlab/spec/factories/namespaces/user_namespaces.rb
2021-11-18 22:05:49 +05:30

8 lines
244 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :user_namespace, class: 'Namespaces::UserNamespace', parent: :namespace do
sequence(:name) { |n| "user_namespace#{n}" }
type { Namespaces::UserNamespace.sti_name }
end
end