debian-mirror-gitlab/spec/factories/protected_branches/push_access_levels.rb

10 lines
245 B
Ruby
Raw Normal View History

2020-10-24 23:57:45 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :protected_branch_push_access_level, class: 'ProtectedBranch::PushAccessLevel' do
protected_branch
2021-01-29 00:20:46 +05:30
deploy_key { nil }
2020-10-24 23:57:45 +05:30
access_level { Gitlab::Access::DEVELOPER }
end
end