Fix comparison that got lost in refactoring
This commit is contained in:
parent
a710addde7
commit
990361a25b
|
|
@ -32,7 +32,7 @@ FactoryBot.define do
|
|||
:playoff_stage,
|
||||
level: level,
|
||||
match_count: -1,
|
||||
match_type: evaluator.stage_count ? :running_playoff_match : :empty_prepared_playoff_match
|
||||
match_type: level == evaluator.stage_count ? :running_playoff_match : :empty_prepared_playoff_match
|
||||
)
|
||||
tournament.stages.each do |stage|
|
||||
stage.matches.each_with_index do |match, i|
|
||||
|
|
|
|||
Loading…
Reference in New Issue