Retrospring/spec/factories/smile.rb

9 lines
160 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :smile do
user { FactoryBot.build(:user) }
answer { FactoryBot.build(:answer) }
end
end