debian-mirror-gitlab/spec/factories/member_roles.rb

11 lines
242 B
Ruby
Raw Normal View History

2022-08-27 11:52:29 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :member_role do
namespace { association(:group) }
base_access_level { Gitlab::Access::DEVELOPER }
2023-01-13 00:05:48 +05:30
trait(:guest) { base_access_level { GroupMember::GUEST } }
2022-08-27 11:52:29 +05:30
end
end