discourse/spec/fabricators/post_action_fabricator.rb
Jeff Wong 036a24cf30
FIX: correct user serializer user method for extended serializer (#8590)
A small fix for Basic User Serializers where some downstream serializers do not correctly set user objects. This caused some issues in certain plugins that depend on the user method to return a user.
2019-12-19 09:48:01 -08:00

8 lines
127 B
Ruby

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