Add teams and group scores factory
This commit is contained in:
parent
ca0013b9b2
commit
579412ab89
|
|
@ -0,0 +1,6 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
FactoryBot.define do
|
||||||
|
factory :group_score do
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
FactoryBot.define do
|
||||||
|
factory :team do
|
||||||
|
name { Faker::Dog.name }
|
||||||
|
group_score
|
||||||
|
end
|
||||||
|
end
|
||||||
Loading…
Reference in New Issue