Reduce standart amount of teams within a tournament to 8
This commit is contained in:
parent
ef3413b8ed
commit
dded01ebee
|
|
@ -6,7 +6,7 @@ FactoryBot.define do
|
|||
description { Faker::Lorem.sentence }
|
||||
user
|
||||
transient do
|
||||
teams_count { 16 }
|
||||
teams_count { 8 }
|
||||
end
|
||||
after(:create) do |tournament, evaluator|
|
||||
tournament.teams = create_list(:team, evaluator.teams_count, tournament: tournament)
|
||||
|
|
|
|||
Loading…
Reference in New Issue