debian-mirror-gitlab/spec/factories/member_roles.rb
2023-01-12 18:35:48 +00:00

10 lines
242 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :member_role do
namespace { association(:group) }
base_access_level { Gitlab::Access::DEVELOPER }
trait(:guest) { base_access_level { GroupMember::GUEST } }
end
end