Worlds Bets
This commit is contained in:
34
spec/factories/world_participants.rb
Normal file
34
spec/factories/world_participants.rb
Normal file
@@ -0,0 +1,34 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: world_participants
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# final_result :integer
|
||||
# name :string not null
|
||||
# qualifier_result :integer
|
||||
# round :string not null
|
||||
# score :integer
|
||||
# semifinal_result :integer
|
||||
# username :string not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# world_country_id :integer not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_world_participants_on_world_country_id (world_country_id)
|
||||
#
|
||||
# Foreign Keys
|
||||
#
|
||||
# world_country_id (world_country_id => world_countries.id)
|
||||
#
|
||||
FactoryBot.define do
|
||||
factory :world_participant do
|
||||
username { "MyString" }
|
||||
name { "MyString" }
|
||||
world_country { nil }
|
||||
qualifier_result { 1 }
|
||||
semifinal_result { 1 }
|
||||
final_result { 1 }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user