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