Add position to all matches

This commit is contained in:
Daniel Schädler 2019-05-10 13:14:44 +02:00
parent 80b14900d0
commit c55b45bdc1
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
FactoryBot.define do
factory :playoff_match, aliases: [:match], class: Match do
stage
position { 0 }
factory :running_playoff_match do
transient do
match_scores_count { 2 }
@ -31,6 +32,7 @@ FactoryBot.define do
factory :group_match, class: Match do
group
position { 0 }
factory :running_group_match do
transient do
match_scores_count { 2 }