debian-mirror-gitlab/spec/factories/ci/group_variables.rb
2019-05-18 00:54:41 +05:30

13 lines
258 B
Ruby

FactoryBot.define do
factory :ci_group_variable, class: Ci::GroupVariable do
sequence(:key) { |n| "VARIABLE_#{n}" }
value 'VARIABLE_VALUE'
masked false
trait(:protected) do
protected true
end
group factory: :group
end
end