Skip to content

Commit e9b85de

Browse files
committed
adds a factory for conversation participants
1 parent 3796fa3 commit e9b85de

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# frozen_string_literal: true
22

33
FactoryBot.define do
4-
factory :conversation_participant do # rubocop:todo Lint/EmptyBlock
4+
factory('better_together/conversation_participant',
5+
class: 'BetterTogether::ConversationParticipant',
6+
aliases: %i[better_together_conversation_participant conversation_participant]) do
7+
association :conversation
8+
association :person
59
end
610
end

0 commit comments

Comments
 (0)