Files
puzzle-scoreboard/spec/factories/contestant.rb
2025-12-12 10:31:03 +01:00

30 lines
660 B
Ruby

# == Schema Information
#
# Table name: contestants
#
# id :integer not null, primary key
# display_time :string
# email :string
# name :string
# projected_time :string
# qrcode :string
# time_seconds :integer
# created_at :datetime not null
# updated_at :datetime not null
# contest_id :integer not null
#
# Indexes
#
# index_contestants_on_contest_id (contest_id)
#
# Foreign Keys
#
# contest_id (contest_id => contests.id)
#
FactoryBot.define do
factory :contestant do
name { Faker::Name.name }
email { Faker::Internet.unique.email }
end
end