
* We also rename the corresponding columns in the Runner model, so that for polymorphic association gets clear.
11 lines
285 B
Ruby
11 lines
285 B
Ruby
# frozen_string_literal: true
|
|
|
|
# This factory does not request the runner management as the id is already provided.
|
|
FactoryBot.define do
|
|
factory :runner do
|
|
runner_id { SecureRandom.uuid }
|
|
execution_environment factory: :ruby
|
|
contributor factory: :external_user
|
|
end
|
|
end
|