debian-mirror-gitlab/spec/factories/project_group_links.rb
2020-04-22 19:07:51 +05:30

14 lines
409 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :project_group_link do
project
group
expires_at { nil }
trait(:guest) { group_access { Gitlab::Access::GUEST } }
trait(:reporter) { group_access { Gitlab::Access::REPORTER } }
trait(:developer) { group_access { Gitlab::Access::DEVELOPER } }
trait(:maintainer) { group_access { Gitlab::Access::MAINTAINER } }
end
end