Fix Metrics/AbcSize violation in order_cycles/complex_creating_specific_time_spec.rb

This commit is contained in:
Cillian O'Ruanaidh
2022-09-21 22:05:43 +01:00
committed by Filipe
parent def87485c0
commit f9e29f3a78

View File

@@ -207,9 +207,7 @@ describe '
expect_variants_saved
expect_receival_instructions_saved
expect_pickup_time_and_instructions_saved
# And the distributor shipping method should be attached
expect(oc.distributor_shipping_methods).to eq(shipping_method_i.distributor_shipping_methods)
expect_distributor_shipping_methods_saved
end
def expect_opening_and_closing_times_saved
@@ -241,4 +239,8 @@ describe '
expect(exchange.pickup_instructions).to eq('pickup instructions')
expect(exchange.tag_list).to eq(['wholesale'])
end
def expect_distributor_shipping_methods_saved
expect(oc.distributor_shipping_methods).to eq(shipping_method_i.distributor_shipping_methods)
end
end