Fix Checkout payment system spec

This commit is contained in:
Gaetan Craig-Riou
2024-05-22 12:05:46 +10:00
parent 0f7f1a5d5c
commit 9b879da616

View File

@@ -15,7 +15,7 @@ RSpec.describe "As a consumer, I want to checkout my order" do
let(:supplier) { create(:supplier_enterprise) }
let(:distributor) { create(:distributor_enterprise, charges_sales_tax: true) }
let(:product) {
create(:taxed_product, supplier:, price: 10, zone:, tax_rate_amount: 0.1)
create(:taxed_product, supplier_id: supplier.id, price: 10, zone:, tax_rate_amount: 0.1)
}
let(:variant) { product.variants.first }
let!(:order_cycle) {