retrospring/spec/factories/comment_smile.rb
2023-10-28 02:44:48 +02:00

9 lines
209 B
Ruby

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