mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #7128 from jibees/7127-terms-&-conditions-test-fails
Use timezone as hour and minute offset from UTC in terms_and_conditions_spec.rb
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user