mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user