Fix tax not incl checkout system spec

This commit is contained in:
Gaetan Craig-Riou
2024-05-22 10:53:11 +10:00
parent 4396c39c83
commit 8db7352774

View File

@@ -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) {