From a634283ec55d4c02da9f724dae34ea53638aea15 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Wed, 27 Sep 2023 22:20:31 +0100 Subject: [PATCH] Removes unecessary shipping method setup - guest --- spec/system/consumer/checkout/guest_spec.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spec/system/consumer/checkout/guest_spec.rb b/spec/system/consumer/checkout/guest_spec.rb index 46b882f071..3d8f8d0c42 100644 --- a/spec/system/consumer/checkout/guest_spec.rb +++ b/spec/system/consumer/checkout/guest_spec.rb @@ -57,10 +57,7 @@ describe "As a consumer, I want to checkout my order" do name: "Payment with Fee", description: "Payment with fee", calculator: Calculator::FlatRate.new(preferred_amount: 1.23)) } - let(:shipping_backoffice_only) { - create(:shipping_method, require_ship_address: true, name: "Shipping Backoffice Only", - display_on: "back_end") - } + let(:shipping_methods) { [free_shipping_with_required_address, free_shipping, shipping_with_fee, free_shipping_without_required_address, tagged_shipping]