debian-mirror-gitlab/spec/factories/namespace_package_settings.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
400 B
Ruby
Raw Normal View History

2021-03-08 18:12:59 +05:30
# 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' }
2021-06-08 01:23:25 +05:30
generic_duplicates_allowed { true }
generic_duplicate_exception_regex { 'foo' }
2021-03-08 18:12:59 +05:30
trait :group do
namespace { association(:group) }
end
end
end