discourse/spec/fabricators/like_fabricator.rb

6 lines
109 B
Ruby

Fabricator(:like, from: :post_action) do
post
user
post_action_type_id PostActionType.types[:like]
end