X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1a5161a9c803d88c72456fa80ad79e6141e1d7ce..a3618d2b5fcb991fef7786fbbbfd6d3e0ac88d28:/test/factories/friends.rb diff --git a/test/factories/friends.rb b/test/factories/friends.rb index 46b14a39d..749846edb 100644 --- a/test/factories/friends.rb +++ b/test/factories/friends.rb @@ -1,7 +1,6 @@ FactoryGirl.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