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

rules.rb « protection « packages « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f65a9d3e64da7dc39626e2d74571b8baeccc31c0 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

FactoryBot.define do
  factory :package_protection_rule, class: 'Packages::Protection::Rule' do
    project
    package_name_pattern { '@my_scope/my_package' }
    package_type { :npm }
    push_protected_up_to_access_level { :developer }
  end
end