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

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

FactoryBot.define do
  factory :container_registry_protection_rule, class: 'ContainerRegistry::Protection::Rule' do
    project
    repository_path_pattern { 'my_project/my_container' }
    delete_protected_up_to_access_level { :developer }
    push_protected_up_to_access_level { :developer }
  end
end