discourse/spec/fabricators/flag_fabricator.rb

6 lines
109 B
Ruby
Raw Normal View History

2013-03-12 14:19:01 -04:00
Fabricator(:flag, from: :post_action) do
user
post
post_action_type_id PostActionType.types[:spam]
end