mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:29:53 +01:00
9 lines
234 B
Ruby
9 lines
234 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :smile, class: Reaction do
|
|
user { FactoryBot.create(:user) }
|
|
parent { FactoryBot.create(:answer, user: FactoryBot.create(:user)) }
|
|
content { "🙂" }
|
|
end
|
|
end
|