debian-mirror-gitlab/spec/factories/namespace_package_settings.rb
2021-03-08 18:12:59 +05:30

14 lines
311 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :namespace_package_setting, class: 'Namespace::PackageSetting' do
namespace
maven_duplicates_allowed { true }
maven_duplicate_exception_regex { 'SNAPSHOT' }
trait :group do
namespace { association(:group) }
end
end
end