]> git.openstreetmap.org Git - rails.git/blob - test/factories/user_preferences.rb
Make documentation clearer and shorter by deferring complicated shared-library SQL...
[rails.git] / test / factories / user_preferences.rb
1 FactoryBot.define do
2   factory :user_preference do
3     sequence(:k) { |n| "Key #{n}" }
4     sequence(:v) { |n| "Value #{n}" }
5
6     user
7   end
8 end