mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-12 23:27:48 +00:00
Using same serializer for standing order index and edit pages
This commit is contained in:
@@ -31,7 +31,7 @@ describe "StandingOrdersCtrl", ->
|
||||
standingOrders = [standingOrder]
|
||||
|
||||
beforeEach ->
|
||||
http.expectGET('/admin/standing_orders.json?ams_prefix=index&q%5Bshop_id_eq%5D=3').respond 200, standingOrders
|
||||
http.expectGET('/admin/standing_orders.json?q%5Bshop_id_eq%5D=3').respond 200, standingOrders
|
||||
scope.$apply -> scope.shop_id = 3
|
||||
http.flush()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user