Reduce standart amount of teams within a tournament to 8

This commit is contained in:
Daniel Schädler 2019-05-10 18:49:39 +02:00
parent 3f4c6336c2
commit f73820f2f2
1 changed files with 1 additions and 1 deletions

View File

@ -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)