From 66ba1d2a70e1abc359bbe9de64609410d11c4db1 Mon Sep 17 00:00:00 2001 From: zeMirco Date: Thu, 17 Apr 2014 21:39:15 +0200 Subject: [PATCH] update config and use connection object --- test/config.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 +};