debian-mirror-gitlab/spec/factories/member_roles.rb
2023-04-23 21:23:45 +05:30

11 lines
319 B
Ruby

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