Tidy up response formats for easier testing

This commit is contained in:
Matt-Yorkley
2018-09-18 01:16:37 +01:00
parent 6768055b4d
commit 64620c2797
2 changed files with 2 additions and 2 deletions

View File

@@ -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", ->