Fix factories
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 2m12s
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 2m12s
This commit is contained in:
parent
de93ffb643
commit
c177131672
@ -1,7 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory :group do
|
||||
name { "MyString" }
|
||||
icon { "MyString" }
|
||||
sequence(:name) { |i| "Group #{i}" }
|
||||
order { 1 }
|
||||
end
|
||||
end
|
||||
|
@ -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 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user