demarches-normaliennes/spec/factories/france_connect_information.rb

17 lines
412 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-01-23 17:15:42 +01:00
FactoryBot.define do
factory :france_connect_information do
given_name { 'Angela Claire Louise' }
family_name { 'DUBOIS' }
gender { 'female' }
2018-09-04 16:46:48 +02:00
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