From 72a503c3c1c278d8a5290c46a54fc7bb654ebfd0 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 29 Aug 2024 11:46:22 -0600 Subject: [PATCH] Removes test on PDF file on sales tax report --- .../reports/sales_tax/sales_tax_totals_by_order_spec.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_order_spec.rb b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_order_spec.rb index 877081295a..7377869a9f 100644 --- a/spec/system/admin/reports/sales_tax/sales_tax_totals_by_order_spec.rb +++ b/spec/system/admin/reports/sales_tax/sales_tax_totals_by_order_spec.rb @@ -457,7 +457,6 @@ RSpec.describe "Sales Tax Totals By order" do it_behaves_like "reports generated as", "CSV", "csv", false it_behaves_like "reports generated as", "Spreadsheet", "xlsx", true - it_behaves_like "reports generated as", "PDF", "pdf", true end end @@ -482,10 +481,6 @@ RSpec.describe "Sales Tax Totals By order" do when "xlsx" xlsx = Roo::Excelx.new(downloaded_filename) xlsx.map(&:to_a).join(" ") - when "pdf" - # Load PDF pages and contents join into one big string - pdf = PDF::Reader.new(downloaded_filename) - pdf.pages.map(&:text).join(" ") end end end