mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-07 07:36:58 +00:00
Tidy up response formats for easier testing
This commit is contained in:
@@ -31,7 +31,7 @@ describe "Orders service", ->
|
||||
expect(Orders.pristineByID).toDeepEqual { 5: response.orders[0] }
|
||||
|
||||
it "returns an array of orders", ->
|
||||
expect(result).toDeepEqual response
|
||||
expect(result).toDeepEqual response.orders
|
||||
|
||||
|
||||
describe "#save", ->
|
||||
|
||||
Reference in New Issue
Block a user