Add factory for a finished_playoff_match
This commit is contained in:
parent
bc0c7fddc3
commit
68efd3caae
|
|
@ -12,6 +12,9 @@ FactoryBot.define do
|
||||||
match.match_scores = create_list(:match_score, evaluator.match_scores_count)
|
match.match_scores = create_list(:match_score, evaluator.match_scores_count)
|
||||||
end
|
end
|
||||||
state { :in_progress }
|
state { :in_progress }
|
||||||
|
factory :finished_playoff_match do
|
||||||
|
state { :finished }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
factory :single_team_match do
|
factory :single_team_match do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue