Retrospring/spec/factories/comment_smile.rb

10 lines
221 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :comment_smile, class: Appendable::Reaction do
user { FactoryBot.build(:user) }
parent { FactoryBot.build(:comment) }
content { "🙂" }
end
end