mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix tax not incl checkout system spec
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user