discourse/spec/fabricators/flag_fabricator.rb

5 lines
108 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