From 4e510e9bd0c1860550ea26dccc912af70934c983 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 8 Jan 2024 15:13:55 +1100 Subject: [PATCH] Avoid warning hiding main menu in report spec --- spec/system/admin/reports/orders_and_fulfillment_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/system/admin/reports/orders_and_fulfillment_spec.rb b/spec/system/admin/reports/orders_and_fulfillment_spec.rb index 23870f35fc..9e8c01577d 100644 --- a/spec/system/admin/reports/orders_and_fulfillment_spec.rb +++ b/spec/system/admin/reports/orders_and_fulfillment_spec.rb @@ -20,8 +20,10 @@ describe "Orders And Fulfillment" do create(:address, address1: "distributor address", city: 'The Shire', zipcode: "1234") } let(:distributor) { - create(:distributor_enterprise, address: distributor_address, - name: "Distributor Name") + create(:distributor_enterprise, + with_payment_and_shipping: true, + address: distributor_address, + name: "Distributor Name") } let(:order_cycle) { create(:simple_order_cycle, distributors: [distributor]) } let(:order1) {