mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-03 06:59:14 +00:00
check the time, not the printed zone, in the spec
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")
|
||||
|
||||
# Replace PDF
|
||||
attach_file "enterprise[terms_and_conditions]", black_pdf_file_name
|
||||
|
||||
Reference in New Issue
Block a user