X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be40536440b8677323bcf30bc2b869e36f907dd9..6b44a1976cf07ba50ba8aed8b34434e69a45e62d:/test/factories/friends.rb?ds=sidebyside diff --git a/test/factories/friends.rb b/test/factories/friends.rb index 46b14a39d..15317ee0c 100644 --- a/test/factories/friends.rb +++ b/test/factories/friends.rb @@ -1,7 +1,6 @@ -FactoryGirl.define do +FactoryBot.define do factory :friend do - # Fixme requires User Factory - user_id 1 - friend_user_id 2 + association :befriender, :factory => :user + association :befriendee, :factory => :user end end