Retrospring/spec/factories/comment_smile.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
209 B
Ruby
Raw Normal View History

2020-04-30 10:04:20 -07:00
# frozen_string_literal: true
FactoryBot.define do
factory :comment_smile, class: Reaction do
2020-04-30 10:04:20 -07:00
user { FactoryBot.build(:user) }
parent { FactoryBot.build(:comment) }
content { "🙂" }
2020-04-30 10:04:20 -07:00
end
end