mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 12:19:36 +08:00
5 lines
108 B
Ruby
5 lines
108 B
Ruby
|
Fabricator(:flag, from: :post_action) do
|
||
|
user
|
||
|
post
|
||
|
post_action_type_id PostActionType.types[:spam]
|
||
|
end
|