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|
|
after(:create) do |match, evaluator|
|
||||||
match.match_scores = create_list(:match_score, evaluator.match_scores_count)
|
match.match_scores = create_list(:match_score, evaluator.match_scores_count)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
factory :finished_group_match do
|
||||||
|
state { :finished }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
factory :undecided_group_match do
|
factory :undecided_group_match do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue