diff --git a/spec/system/consumer/caching/darkswarm_caching_spec.rb b/spec/system/consumer/caching/darkswarm_caching_spec.rb index 02c2fdad65..f3ae4482c1 100644 --- a/spec/system/consumer/caching/darkswarm_caching_spec.rb +++ b/spec/system/consumer/caching/darkswarm_caching_spec.rb @@ -11,7 +11,7 @@ RSpec.describe "Darkswarm data caching", caching: true do create(:distributor_enterprise, with_payment_and_shipping: true, is_primary_producer: true) } let!(:product) { - create(:simple_product, supplier: producer, primary_taxon: taxon, + create(:simple_product, supplier_id: producer.id, primary_taxon: taxon, properties: [property]) } let!(:order_cycle) {