mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix api/orders_controller_spec by fixing expectations on order attributes: remove old attributes shipments_path and show_path
This commit is contained in:
@@ -149,8 +149,8 @@ module Api
|
||||
def order_attributes
|
||||
[
|
||||
:id, :number, :full_name, :email, :phone, :completed_at, :display_total,
|
||||
:show_path, :edit_path, :state, :payment_state, :shipment_state,
|
||||
:payments_path, :shipments_path, :ship_path, :ready_to_ship, :created_at,
|
||||
:edit_path, :state, :payment_state, :shipment_state,
|
||||
:payments_path, :ship_path, :ready_to_ship, :created_at,
|
||||
:distributor_name, :special_instructions, :payment_capture_path
|
||||
]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user