2020-04-30 10:04:20 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
2022-03-26 10:38:17 -07:00
|
|
|
factory :smile, class: Appendable::Reaction do
|
2022-07-09 10:22:05 -07:00
|
|
|
user { FactoryBot.create(:user) }
|
|
|
|
parent { FactoryBot.create(:answer, user: FactoryBot.create(:user)) }
|
2022-03-26 10:38:17 -07:00
|
|
|
content { "🙂" }
|
2020-04-30 10:04:20 -07:00
|
|
|
end
|
|
|
|
end
|