From 046a2077f212f437322a6ec9eb865fa82fac841d Mon Sep 17 00:00:00 2001 From: Andy Brett Date: Tue, 16 Mar 2021 12:14:27 -0700 Subject: [PATCH] check the time, not the printed zone, in the spec --- spec/features/admin/enterprises/terms_and_conditions_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/admin/enterprises/terms_and_conditions_spec.rb b/spec/features/admin/enterprises/terms_and_conditions_spec.rb index 311cf6e9cf..d465a7e651 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") # Replace PDF attach_file "enterprise[terms_and_conditions]", black_pdf_file_name