1 2 3 4 5 6 7
FactoryBot.define do factory :project_custom_attribute do project sequence(:key) { |n| "key#{n}" } sequence(:value) { |n| "value#{n}" } end end