openstreetmap-website/test/factories/friendships.rb
Andy Allan cb4f99fef2 Use implicit style for associations with factory overrides
This matches our usage of implicit style for associations generally,
e.g. `user`.
2023-09-06 10:20:23 +01:00

6 lines
122 B
Ruby

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