Update test factories to run without input of instances
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory(:post_flag) do
|
||||
creator
|
||||
creator factory: :user, created_at: 2.weeks.ago
|
||||
post
|
||||
reason {"xxx"}
|
||||
is_resolved {false}
|
||||
|
||||
Reference in New Issue
Block a user