X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/043d29fd7eb72048cf5d07edfbc20ec5c25af708..ee56d1057dffb23bc3836970aab06f455e4ae487:/test/factories/user_preferences.rb?ds=sidebyside diff --git a/test/factories/user_preferences.rb b/test/factories/user_preferences.rb index 552cfcd75..6d33e8caa 100644 --- a/test/factories/user_preferences.rb +++ b/test/factories/user_preferences.rb @@ -1,9 +1,8 @@ -FactoryGirl.define do +FactoryBot.define do factory :user_preference do sequence(:k) { |n| "Key #{n}" } sequence(:v) { |n| "Value #{n}" } - # FIXME: needs user factory - user_id 1 + user end end