Add teams and group scores factory

This commit is contained in:
Thor77 2018-11-13 23:10:18 +01:00
parent ca0013b9b2
commit 579412ab89
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# frozen_string_literal: true
FactoryBot.define do
factory :group_score do
end
end

8
spec/factories/teams.rb Normal file
View File

@ -0,0 +1,8 @@
# frozen_string_literal: true
FactoryBot.define do
factory :team do
name { Faker::Dog.name }
group_score
end
end