Fix factories
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 2m12s

This commit is contained in:
Manuel Bustillo 2024-08-11 18:59:27 +02:00
parent de93ffb643
commit c177131672
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,6 @@
FactoryBot.define do
factory :group do
name { "MyString" }
icon { "MyString" }
sequence(:name) { |i| "Group #{i}" }
order { 1 }
end
end

View File

@ -1,5 +1,7 @@
FactoryBot.define do
factory :guest do
association :group
first_name { Faker::Name.first_name }
last_name { Faker::Name.last_name }
email { Faker::Internet.email }