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:
Andy Brett
2021-03-16 08:34:18 -07:00
committed by GitHub

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