From c273c6b15511442d7bb3898edd0380f968922feb Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Tue, 19 Mar 2024 11:30:22 +1100 Subject: [PATCH] Fix enterprise fee with tax report specs --- .../enterprise_fees_with_tax_report_by_producer_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer_spec.rb b/spec/lib/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer_spec.rb index a993becede..ae58f2e211 100644 --- a/spec/lib/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer_spec.rb +++ b/spec/lib/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer_spec.rb @@ -26,7 +26,7 @@ RSpec.describe Reporting::Reports::EnterpriseFeeSummary::EnterpriseFeesWithTaxRe outgoing.exchange_variants.create(variant:) end } - let(:variant) { create(:product, supplier: enterprise).variants.first } + let(:variant) { create(:variant, supplier: enterprise) } let(:order) { create( :order, :with_line_item,