DateTime.parse => Time.zone.parse
This commit is contained in:
parent
2238e5bd9f
commit
f620e4aee2
11 changed files with 19 additions and 19 deletions
|
@ -33,7 +33,7 @@ describe FranceConnectService do
|
|||
expect(subject).to have_attributes({
|
||||
given_name: given_name,
|
||||
family_name: family_name,
|
||||
birthdate: DateTime.parse(birthdate),
|
||||
birthdate: Time.zone.parse(birthdate),
|
||||
birthplace: birthplace,
|
||||
gender: gender,
|
||||
email_france_connect: email,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue