openstreetmap-website/test/factories/friendships.rb
Andy Allan 1cf8fec58d Rename Friend model to Friendship
This better describes what the model represents, which is the relationship
between the two users.
2019-06-19 16:39:25 +02:00

6 lines
150 B
Ruby

FactoryBot.define do
factory :friendship do
association :befriender, :factory => :user
association :befriendee, :factory => :user
end
end