Add position to all matches
This commit is contained in:
parent
81c41b2596
commit
e3ce8d9202
|
|
@ -3,6 +3,7 @@
|
||||||
FactoryBot.define do
|
FactoryBot.define do
|
||||||
factory :playoff_match, aliases: [:match], class: Match do
|
factory :playoff_match, aliases: [:match], class: Match do
|
||||||
stage
|
stage
|
||||||
|
position { 0 }
|
||||||
factory :running_playoff_match do
|
factory :running_playoff_match do
|
||||||
transient do
|
transient do
|
||||||
match_scores_count { 2 }
|
match_scores_count { 2 }
|
||||||
|
|
@ -31,6 +32,7 @@ FactoryBot.define do
|
||||||
|
|
||||||
factory :group_match, class: Match do
|
factory :group_match, class: Match do
|
||||||
group
|
group
|
||||||
|
position { 0 }
|
||||||
factory :running_group_match do
|
factory :running_group_match do
|
||||||
transient do
|
transient do
|
||||||
match_scores_count { 2 }
|
match_scores_count { 2 }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue