2016-02-16 22:55:24 -05:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :project_member do
|
|
|
|
user
|
|
|
|
project
|
2016-03-06 16:53:22 -05:00
|
|
|
master
|
|
|
|
|
2016-09-16 11:54:21 -04:00
|
|
|
trait(:guest) { access_level ProjectMember::GUEST }
|
|
|
|
trait(:reporter) { access_level ProjectMember::REPORTER }
|
|
|
|
trait(:developer) { access_level ProjectMember::DEVELOPER }
|
|
|
|
trait(:master) { access_level ProjectMember::MASTER }
|
2016-02-16 22:55:24 -05:00
|
|
|
end
|
|
|
|
end
|