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