diff --git a/test/config.js b/test/config.js index aec0595..87ee917 100644 --- a/test/config.js +++ b/test/config.js @@ -1,6 +1,10 @@ -exports.db = 'mongodb://127.0.0.1/test'; -exports.dbCollection = 'users'; + +exports.db = { + url: 'mongodb://127.0.0.1/', + name: 'test', + collection: 'users' +}; exports.signup = { tokenExpiration: '1 day' -}; \ No newline at end of file +};