From 12c017ab99e586cd2e3e5725f66a092c94e58d81 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Wed, 22 May 2024 10:55:26 +1000 Subject: [PATCH] Fix checkout tax incl system spec --- spec/system/consumer/checkout/tax_incl_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/consumer/checkout/tax_incl_spec.rb b/spec/system/consumer/checkout/tax_incl_spec.rb index b8b9ff5b7e..de0ee1af4a 100644 --- a/spec/system/consumer/checkout/tax_incl_spec.rb +++ b/spec/system/consumer/checkout/tax_incl_spec.rb @@ -29,7 +29,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(:simple_product, supplier:, price: 10, tax_category_id: tax_category.id) + create(:simple_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) {