Update test factories to run without input of instances
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
FactoryBot.define do
|
||||
factory(:forum_post) do
|
||||
creator
|
||||
topic factory: :forum_topic
|
||||
body {FFaker::Lorem.sentences.join(" ")}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user