puzzle-scoreboard/test/models/contest_test.rb
sto 2144c22bd9
All checks were successful
CI / scan_ruby (push) Successful in 18s
CI / scan_js (push) Successful in 10s
CI / lint (push) Successful in 11s
CI / test (push) Successful in 33s
Use the friendly ID gem for contest slugs
2025-03-26 17:40:56 +01:00

30 lines
704 B
Ruby

# == Schema Information
#
# Table name: contests
#
# id :integer not null, primary key
# allow_registration :boolean default(FALSE)
# name :string
# slug :string
# team :boolean default(FALSE)
# created_at :datetime not null
# updated_at :datetime not null
# user_id :integer not null
#
# Indexes
#
# index_contests_on_slug (slug) UNIQUE
# index_contests_on_user_id (user_id)
#
# Foreign Keys
#
# user_id (user_id => users.id)
#
require "test_helper"
class ContestTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end