debian-mirror-gitlab/spec/factories/ci/pipeline_schedule_variables.rb
2019-07-31 17:26:46 +00:00

9 lines
264 B
Ruby

FactoryBot.define do
factory :ci_pipeline_schedule_variable, class: Ci::PipelineScheduleVariable do
sequence(:key) { |n| "VARIABLE_#{n}" }
value 'VARIABLE_VALUE'
variable_type 'env_var'
pipeline_schedule factory: :ci_pipeline_schedule
end
end