debian-mirror-gitlab/spec/factories/project_custom_attributes.rb

8 lines
160 B
Ruby
Raw Normal View History

2018-03-17 18:26:18 +05:30
FactoryBot.define do
factory :project_custom_attribute do
project
sequence(:key) { |n| "key#{n}" }
sequence(:value) { |n| "value#{n}" }
end
end