Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pipeline_schedule_variables.rb « ci « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d598ba1b1b9d05a9ca4a9b4d3345277ac1f97b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

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