fix(rubocop): Rails/TimeZone

This commit is contained in:
Colin Darie 2024-02-05 12:23:15 +01:00
parent eeef6176b7
commit e0d5dc84d5
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -16,7 +16,7 @@ describe 'user access to the list of their dossiers', js: true do
@default_per_page = Dossier.default_per_page
Dossier.paginates_per dossiers_per_page
last_updated_dossier.update_column(:updated_at, "19/07/2052 15:35".to_time)
last_updated_dossier.update_column(:updated_at, Time.zone.parse("19/07/2052 15:35"))
login_as user, scope: :user
visit dossiers_path