Merge pull request #4888 from Matt-Yorkley/3-0-shipping-method-id

[Spree 2.1] Remove assignment of invalid attribute in test setup
This commit is contained in:
Pau Pérez Fabregat
2020-03-03 10:26:15 +01:00
committed by GitHub

View File

@@ -24,13 +24,9 @@ feature "Order Management", js: true do
before do
# For some reason, both bill_address and ship_address are not set
# automatically.
#
# Also, assigning the shipping_method to a ShippingMethod instance results
# in a SystemStackError.
order.update_attributes!(
bill_address: bill_address,
ship_address: ship_address,
shipping_method_id: shipping_method.id
ship_address: ship_address
)
end