diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-19 00:09:27 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-19 00:09:27 +0000 |
commit | 77d15aff0eaa7dd8a8ce988436a502c5ab6bb55b (patch) | |
tree | 7e5a828e67a98dbb3b7eb1f73b569d15bbcf0f45 /spec/factories | |
parent | 8b5c2a4525819c6b18f422b4baa0f6568286909b (diff) | |
download | gitlab-ce-77d15aff0eaa7dd8a8ce988436a502c5ab6bb55b.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/user_highest_roles.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/user_highest_roles.rb b/spec/factories/user_highest_roles.rb index 2e3447348b7..d04db507e44 100644 --- a/spec/factories/user_highest_roles.rb +++ b/spec/factories/user_highest_roles.rb @@ -3,5 +3,13 @@ FactoryBot.define do factory :user_highest_role do user + + trait :maintainer do + highest_access_level { Gitlab::Access::MAINTAINER } + end + + trait :developer do + highest_access_level { Gitlab::Access::DEVELOPER } + end end end |