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

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