debian-mirror-gitlab/spec/factories/clusters/agents.rb
2021-11-11 11:23:49 +05:30

10 lines
219 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :cluster_agent, class: 'Clusters::Agent' do
project
association :created_by_user, factory: :user
sequence(:name) { |n| "agent-#{n}" }
end
end