discourse/spec/fabricators/like_fabricator.rb

6 lines
109 B
Ruby
Raw Normal View History

2013-03-18 01:53:00 +08:00
Fabricator(:like, from: :post_action) do
post
user
post_action_type_id PostActionType.types[:like]
end