Using same serializer for standing order index and edit pages

This commit is contained in:
Rob Harrington
2016-11-30 09:37:40 +11:00
parent e8ee1dad04
commit 8f71b56c26
8 changed files with 32 additions and 39 deletions

View File

@@ -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()