mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Including errors attribute from StandingOrderPrototype in spec
This commit is contained in:
@@ -27,7 +27,7 @@ describe "StandingOrdersCtrl", ->
|
||||
expect(scope.shop_id).toEqual null
|
||||
|
||||
describe "setting shop_id on scope", ->
|
||||
standingOrder = { id: 5, customer_id: 3, schedule_id: 1}
|
||||
standingOrder = { errors: {}, id: 5, customer_id: 3, schedule_id: 1 }
|
||||
standingOrders = [standingOrder]
|
||||
|
||||
beforeEach ->
|
||||
|
||||
Reference in New Issue
Block a user