2019-07-25 05:11:48 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-12-14 00:13:44 +00:00
|
|
|
FactoryBot.define do
|
2017-06-21 09:25:01 +00:00
|
|
|
factory :ci_pipeline_schedule_variable, class: Ci::PipelineScheduleVariable do
|
|
|
|
sequence(:key) { |n| "VARIABLE_#{n}" }
|
2019-10-02 00:06:26 +00:00
|
|
|
value { 'VARIABLE_VALUE' }
|
|
|
|
variable_type { 'env_var' }
|
2017-06-21 09:25:01 +00:00
|
|
|
|
|
|
|
pipeline_schedule factory: :ci_pipeline_schedule
|
|
|
|
end
|
|
|
|
end
|