debian-mirror-gitlab/spec/factories/clusters/agents/project_authorizations.rb

11 lines
265 B
Ruby
Raw Normal View History

2021-11-11 11:23:49 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :agent_project_authorization, class: 'Clusters::Agents::ProjectAuthorization' do
association :agent, factory: :cluster_agent
project
config { { default_namespace: 'production' } }
end
end