debian-mirror-gitlab/spec/factories/protected_branches/push_access_levels.rb
2021-01-30 21:13:34 +05:30

9 lines
245 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :protected_branch_push_access_level, class: 'ProtectedBranch::PushAccessLevel' do
protected_branch
deploy_key { nil }
access_level { Gitlab::Access::DEVELOPER }
end
end