From 57a65da6742355e1e1746e983789983bcd65cd49 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Tue, 16 Mar 2021 09:52:45 +0100 Subject: [PATCH] Use timezone as hour and minute offset from UTC - e.g. +0900 (and not e.g. +09:00) --- spec/features/admin/enterprises/terms_and_conditions_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/admin/enterprises/terms_and_conditions_spec.rb b/spec/features/admin/enterprises/terms_and_conditions_spec.rb index 3a1b00a47c..311cf6e9cf 100644 --- a/spec/features/admin/enterprises/terms_and_conditions_spec.rb +++ b/spec/features/admin/enterprises/terms_and_conditions_spec.rb @@ -54,7 +54,7 @@ feature "Uploading Terms and Conditions PDF" do go_to_business_details expect(page).to have_selector "a[href*='logo-white.pdf'][target=\"_blank\"]" - expect(page).to have_content time.strftime("%F %T %Z") + expect(page).to have_content time.strftime("%F %T %z") # Replace PDF attach_file "enterprise[terms_and_conditions]", black_pdf_file_name