Add more integration tests #31

Merged
joeybaker merged 7 commits from code-coverage into master 2016-10-28 18:28:06 +00:00
Showing only changes of commit 11e6ff596c - Show all commits

View File

@ -214,6 +214,8 @@ export const scope = ({ server, model, prefix = '/', config }) => {
include, where, limit, offset, order, include, where, limit, offset, order,
}); });
if (!list.length) return void reply(notFound('Nothing found.'));
reply(list.map((item) => item.toJSON())); reply(list.map((item) => item.toJSON()));
}, },
config, config,