wedding-planner/spec/factories/group_affinities.rb
Manuel Bustillo 6c6ae62e5a
All checks were successful
Check usage of free licenses / check-licenses (pull_request) Successful in 1m7s
Add copyright notice / copyright_notice (pull_request) Successful in 1m18s
Run unit tests / unit_tests (pull_request) Successful in 2m16s
Define model and endpoints to store affinity between group pairs
2024-12-26 20:29:06 +01:00

8 lines
186 B
Ruby

FactoryBot.define do
factory :group_affinity do
association :group_a, factory: :group
association :group_b, factory: :group
discomfort { GroupAffinity::NEUTRAL }
end
end