Welcome to mirror list, hosted at ThFree Co, Russian Federation.

project_authorizations.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1726da55c994bb02bf61232eae93ed0089246bbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

FactoryBot.define do
  factory :project_authorization do
    user
    project
    access_level { Gitlab::Access::REPORTER }
  end

  trait :owner do
    access_level { Gitlab::Access::OWNER }
  end
end