2019-07-25 01:11:48 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-12-13 19:13:44 -05:00
|
|
|
FactoryBot.define do
|
2020-01-09 13:07:52 -05:00
|
|
|
factory :ci_variable, class: 'Ci::Variable' do
|
2016-01-13 13:57:23 -05:00
|
|
|
sequence(:key) { |n| "VARIABLE_#{n}" }
|
2019-10-01 20:06:26 -04:00
|
|
|
value { 'VARIABLE_VALUE' }
|
|
|
|
masked { false }
|
2017-05-08 15:56:37 -04:00
|
|
|
|
2017-05-25 06:05:27 -04:00
|
|
|
trait(:protected) do
|
2019-10-01 20:06:26 -04:00
|
|
|
add_attribute(:protected) { true }
|
2017-05-25 06:05:27 -04:00
|
|
|
end
|
|
|
|
|
2017-08-02 15:55:11 -04:00
|
|
|
project
|
2015-12-31 09:19:13 -05:00
|
|
|
end
|
|
|
|
end
|