debian-mirror-gitlab/spec/factories/ci/runner_machines.rb
2023-03-17 16:20:25 +05:30

8 lines
210 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :ci_runner_machine, class: 'Ci::RunnerMachine' do
runner factory: :ci_runner
machine_xid { "r_#{SecureRandom.hex.slice(0, 10)}" }
end
end