Implement finished_group_match factory

This commit is contained in:
Daniel Schädler 2019-06-16 17:34:39 +02:00
parent 4e72d015ff
commit 748ac18b35
1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,10 @@ FactoryBot.define do
after(:create) do |match, evaluator|
match.match_scores = create_list(:match_score, evaluator.match_scores_count)
end
factory :finished_group_match do
state { :finished }
end
end
factory :undecided_group_match do