mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-11 03:40:20 +00:00
Cancelling a standing order just changes the state, does not remove it from the page
This commit is contained in:
@@ -31,7 +31,7 @@ describe "StandingOrdersCtrl", ->
|
||||
standingOrders = [standingOrder]
|
||||
|
||||
beforeEach ->
|
||||
http.expectGET('/admin/standing_orders.json?q%5Bshop_id_eq%5D=3').respond 200, standingOrders
|
||||
http.expectGET('/admin/standing_orders.json?q%5Bcanceled_at_null%5D=true&q%5Bshop_id_eq%5D=3').respond 200, standingOrders
|
||||
scope.$apply -> scope.shop_id = 3
|
||||
http.flush()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user