Files
puzzle-scoreboard/spec/factories/contestant.rb
sto 683d99ab12
Some checks failed
CI / scan_ruby (push) Successful in 15s
CI / scan_js (push) Successful in 12s
CI / lint (push) Successful in 12s
CI / test (push) Failing after 1m28s
System test for CSV export
#5
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