gitlab-org--gitlab-foss/spec/factories/ci/variables.rb

16 lines
264 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :ci_variable, class: Ci::Variable do
2016-01-13 13:57:23 -05:00
sequence(:key) { |n| "VARIABLE_#{n}" }
value 'VARIABLE_VALUE'
masked false
trait(:protected) do
protected true
end
project
end
end