Use time.zone functions instead of server time functions
(Time.zone.today vs Date.today)
This commit is contained in:
parent
14bc2b99b9
commit
9de9a1fd71
7 changed files with 10 additions and 10 deletions
|
@ -33,7 +33,7 @@ describe FranceConnectService do
|
|||
expect(subject).to have_attributes({
|
||||
given_name: given_name,
|
||||
family_name: family_name,
|
||||
birthdate: Date.parse(birthdate),
|
||||
birthdate: Time.zone.parse(birthdate).to_date,
|
||||
birthplace: birthplace,
|
||||
gender: gender,
|
||||
email_france_connect: email,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue