We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b69a908 commit 1d2496cCopy full SHA for 1d2496c
spec/factories/better_together/conversations.rb
@@ -6,5 +6,9 @@
6
aliases: %i[better_together_conversation conversation]) do
7
title { Faker::Lorem.sentence }
8
association :creator, factory: :person
9
+
10
+ after(:build) do |conversation|
11
+ conversation.participants << conversation.creator
12
+ end
13
end
14
0 commit comments