2019-07-29 03:43:10 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
2020-01-09 13:07:52 -05:00
|
|
|
factory :ci_job_variable, class: 'Ci::JobVariable' do
|
2019-07-29 03:43:10 -04:00
|
|
|
sequence(:key) { |n| "VARIABLE_#{n}" }
|
2019-10-01 20:06:26 -04:00
|
|
|
value { 'VARIABLE_VALUE' }
|
2019-07-29 03:43:10 -04:00
|
|
|
|
|
|
|
job factory: :ci_build
|
2020-03-13 17:09:38 -04:00
|
|
|
|
|
|
|
trait :dotenv_source do
|
|
|
|
source { :dotenv }
|
|
|
|
end
|
2019-07-29 03:43:10 -04:00
|
|
|
end
|
|
|
|
end
|