From 7a244dd2af1375af9197188aa84f13bc215b4065 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 29 Jun 2012 23:14:59 +0200 Subject: o Remembering that all objects should start with a single 'collection'. --- test/collection_json.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/collection_json.test.js b/test/collection_json.test.js index b74d99b..24f69e4 100644 --- a/test/collection_json.test.js +++ b/test/collection_json.test.js @@ -22,7 +22,7 @@ var collection1 = {collection: { describe('fromObject', function() { it('Has basic fields', function() { - var collection = collection_json.fromObject({}); + var collection = collection_json.fromObject({}).collection; assert.deepEqual([], collection.items); assert.deepEqual([], collection.links); assert.deepEqual([], collection.queries); -- cgit v1.2.3