add :with_user trait to fci as user_id is mandatory
This commit is contained in:
parent
ed404f129b
commit
1cf59f722e
1 changed files with 4 additions and 0 deletions
|
@ -6,5 +6,9 @@ FactoryBot.define do
|
|||
birthdate { '1976-02-24' }
|
||||
france_connect_particulier_id { '1234567' }
|
||||
email_france_connect { 'plip@octo.com' }
|
||||
|
||||
trait :with_user do
|
||||
user { build(:user, email: email_france_connect) }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue