discourse/spec/fabricators/post_action_fabricator.rb

8 lines
127 B
Ruby

# frozen_string_literal: true
Fabricator(:post_action) do
post
user
post_action_type_id PostActionType.types[:like]
end