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

10 lines
170 B
Ruby
Raw Normal View History

2020-10-24 23:57:45 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :cluster_agent, class: 'Clusters::Agent' do
project
sequence(:name) { |n| "agent-#{n}" }
end
end