Implement finished_group_match factory
This commit is contained in:
parent
4e72d015ff
commit
748ac18b35
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue