discourse/spec/fabricators/like_fabricator.rb

5 lines
108 B
Ruby

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