Retrospring/spec/factories/smile.rb

10 lines
212 B
Ruby
Raw Normal View History

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