Move group_stage tournament into stage tournament

This commit is contained in:
Daniel Schädler 2019-05-09 16:09:37 +02:00
parent 002f59ecd8
commit ecafc0e258
1 changed files with 4 additions and 4 deletions

View File

@ -19,11 +19,11 @@ FactoryBot.define do
after(:create) do |tournament, evaluator|
tournament.stages = create_list(:stage, evaluator.stage_count)
end
end
factory :group_stage_tournament do
after(:create) do |tournament, _evaluator|
tournament.stages = create_list(:group_stage, 1)
tournament.stages.concat create_list(:group_stage, 1)
end
end
end
end