debian-mirror-gitlab/spec/factories/clusters/agents.rb
2020-10-24 23:57:45 +05:30

9 lines
170 B
Ruby

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