someone will hopefully suqash this

This commit is contained in:
Thor77 2019-04-25 10:14:07 +02:00 committed by Malaber
parent 3ea49f6d20
commit 279973ac22
1 changed files with 8 additions and 1 deletions

View File

@ -2,8 +2,15 @@
FactoryBot.define do
factory :group do
transient do
match_count { 4 }
end
sequence(:number)
stage
group_match
after(:create) do |group, evaluator|
create_list(:group_match, evaluator.match_count, group: group)
end
end
end