diff --git a/spec/system/consumer/shopping/checkout_auth_spec.rb b/spec/system/consumer/shopping/checkout_auth_spec.rb index 0e3ea887f7..ed52e3ba19 100644 --- a/spec/system/consumer/shopping/checkout_auth_spec.rb +++ b/spec/system/consumer/shopping/checkout_auth_spec.rb @@ -17,7 +17,7 @@ RSpec.describe "As a consumer I want to check out my cart" do coordinator: create(:distributor_enterprise), variants: [product.variants.first]) } - let(:product) { create(:simple_product, supplier:) } + let(:product) { create(:simple_product, supplier_id: supplier.id) } let(:order) { create(:order, order_cycle:, distributor:) } let(:address) { create(:address, firstname: "Foo", lastname: "Bar") } let(:user) { create(:user, bill_address: address, ship_address: address) }