From c21ffd338bf80a0ce63e998e036cf7bd8b75debe Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Tue, 1 Aug 2023 09:27:16 +0100 Subject: [PATCH] fix only date is expected on the invoices list table. time is not supposed to be rendered on the invoices list table (only date) --- spec/system/admin/order_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/order_spec.rb b/spec/system/admin/order_spec.rb index 37b0043c00..93acf8be30 100644 --- a/spec/system/admin/order_spec.rb +++ b/spec/system/admin/order_spec.rb @@ -1044,7 +1044,7 @@ describe ' let(:table_contents) { [ - Invoice.first.created_at.strftime('%B %d, %Y 12:00 AM').to_s, + Invoice.first.created_at.strftime('%B %d, %Y').to_s, "1", "0.0", "Active",