Add factory for a finished_playoff_match

This commit is contained in:
Daniel Schädler 2019-06-14 18:04:46 +02:00
parent bc0c7fddc3
commit 68efd3caae
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ FactoryBot.define do
match.match_scores = create_list(:match_score, evaluator.match_scores_count)
end
state { :in_progress }
factory :finished_playoff_match do
state { :finished }
end
end
factory :single_team_match do