System test for CSV export

#5
This commit is contained in:
sto
2025-12-12 10:31:03 +01:00
parent 76553d4cbc
commit 683d99ab12
9 changed files with 73 additions and 99 deletions

View File

@@ -0,0 +1,29 @@
# == 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