Add team factory without parent tournament

This commit is contained in:
Thor77 2018-11-25 20:06:06 +01:00
parent 9d4d39c135
commit 9a41b19e97
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
1 changed files with 4 additions and 0 deletions

View File

@ -5,4 +5,8 @@ FactoryBot.define do
name { Faker::Dog.name }
tournament
end
factory :detached_team, class: Team do
name { Faker::Dog.name }
end
end