From 8db7352774aed3a4a1eb246cc49ae55645bd12c5 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Wed, 22 May 2024 10:53:11 +1000 Subject: [PATCH] Fix tax not incl checkout system spec --- spec/system/consumer/checkout/tax_not_incl_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/consumer/checkout/tax_not_incl_spec.rb b/spec/system/consumer/checkout/tax_not_incl_spec.rb index 274480300e..a5a0d26f91 100644 --- a/spec/system/consumer/checkout/tax_not_incl_spec.rb +++ b/spec/system/consumer/checkout/tax_not_incl_spec.rb @@ -32,7 +32,7 @@ RSpec.describe "As a consumer, I want to see adjustment breakdown" do let(:distributor) { create(:distributor_enterprise, charges_sales_tax: true) } let(:supplier) { create(:supplier_enterprise) } let(:product_with_tax) { - create(:product, supplier:, price: 10, tax_category_id: tax_category.id) + create(:product, supplier_id: supplier.id, price: 10, tax_category_id: tax_category.id) } let(:variant_with_tax) { product_with_tax.variants.first } let(:order_cycle) {