gitlab-org--gitlab-foss/spec/factories/ci/pipeline_schedule_variables.rb
2017-07-05 18:36:18 +09:00

8 lines
237 B
Ruby

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