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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
319 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
2023-04-23 21:23:45 +05:30
trait(:developer) { base_access_level { Gitlab::Access::DEVELOPER } }
trait(:guest) { base_access_level { Gitlab::Access::GUEST } }
2022-08-27 11:52:29 +05:30
end
end