hensei-api/spec/factories/favorites.rb
Justin Edmund a1818ec4c6 Refactored PartiesController
- Split PartiesController into three concerns
- Implemented testing for PartiesController and two concerns
- Implemented fixes across other files to ensure PartiesController tests pass
- Added Favorites factory
2025-02-12 00:12:14 -08:00

11 lines
274 B
Ruby

# frozen_string_literal: true
#
# Factory for the Favorite model. This factory sets up the associations to User and Party,
# which are required as per the model definition.
#
FactoryBot.define do
factory :favorite do
association :user
association :party
end
end