summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/collection_json.test.js2
1 files changed, 1 insertions, 1 deletions
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);