debian-mirror-gitlab/spec/factories/ci/variables.rb
2016-09-29 09:46:39 +05:30

6 lines
149 B
Ruby

FactoryGirl.define do
factory :ci_variable, class: Ci::Variable do
sequence(:key) { |n| "VARIABLE_#{n}" }
value 'VARIABLE_VALUE'
end
end