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