debian-mirror-gitlab/spec/factories/member_roles.rb
2023-01-13 15:02:22 +05:30

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