Add integration tests #27

Merged
joeybaker merged 6 commits from add-integration-tests into master 2016-10-26 21:08:38 +00:00
Showing only changes of commit d3976fa44b - Show all commits

View File

@ -7,7 +7,7 @@ import url from 'url';
import qs from 'qs'; import qs from 'qs';
const register = (server, options = {}, next) => { const register = (server, options = {}, next) => {
options.prefix = options.prefix || ''; options.prefix = options.prefix || '/';
options.name = options.name || 'db'; options.name = options.name || 'db';
const db = server.plugins['hapi-sequelize'][options.name]; const db = server.plugins['hapi-sequelize'][options.name];