]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/user_preferences.rb
Bump aws-sdk-s3 from 1.73.0 to 1.74.0
[rails.git] / test / factories / user_preferences.rb
index 552cfcd75e5c922dbc93019ded21cf9460e9e036..6d33e8caaef5c48ce0e0b3dec70ea617001a0f46 100644 (file)
@@ -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