DateTime.parse => Time.zone.parse
This commit is contained in:
parent
2238e5bd9f
commit
f620e4aee2
11 changed files with 19 additions and 19 deletions
|
@ -82,7 +82,7 @@ describe FranceConnect::ParticulierController, type: :controller do
|
|||
|
||||
before { subject }
|
||||
|
||||
it { expect(stored_fci).to have_attributes(user_info.merge(birthdate: DateTime.parse(birthdate))) }
|
||||
it { expect(stored_fci).to have_attributes(user_info.merge(birthdate: Time.zone.parse(birthdate))) }
|
||||
end
|
||||
|
||||
it { is_expected.to redirect_to(root_path) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue