Use timezone as hour and minute offset from UTC

- e.g. +0900 (and not e.g. +09:00)
This commit is contained in:
Jean-Baptiste Bellet
2021-03-16 09:52:45 +01:00
parent fbc0d8f352
commit 57a65da674

View File

@@ -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