diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-09-20 15:18:11 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-09-20 15:18:11 +0300 |
commit | b674ab529ac26169249a91261a070da733cec84e (patch) | |
tree | 1a57401c993c2a2488c6159ba074e64b4233c0a8 /spec/factories | |
parent | 9346a8d9b5917411e31f2d2aa83c3bb005c83fda (diff) |
Add specs for ProjectTeam#fetch_members
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/group_members.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/group_members.rb b/spec/factories/group_members.rb index 2044ebec09a..795df5dfda9 100644 --- a/spec/factories/group_members.rb +++ b/spec/factories/group_members.rb @@ -3,5 +3,11 @@ FactoryGirl.define do access_level { GroupMember::OWNER } group user + + trait(:guest) { access_level GroupMember::GUEST } + trait(:reporter) { access_level GroupMember::REPORTER } + trait(:developer) { access_level GroupMember::DEVELOPER } + trait(:master) { access_level GroupMember::MASTER } + trait(:owner) { access_level GroupMember::OWNER } end end |