From c28308ee976b5dcb972170206fea7e4e6ca8308c Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 11 Apr 2014 12:45:22 -0400 Subject: [PATCH] added instructions for adding a test database for Level DB #1373 --- mocks/databasemock.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mocks/databasemock.js b/mocks/databasemock.js index eff47bfeb1..a75a1e89a1 100644 --- a/mocks/databasemock.js +++ b/mocks/databasemock.js @@ -5,6 +5,7 @@ (function(module) { 'use strict'; + /*global before*/ var utils = require('./../public/src/utils.js'), path = require('path'), @@ -38,12 +39,16 @@ ' "database": "1"' + '\n' + '}\n'+ " or (mongo):\n" + - '"test_database": {' + '\n' + + '"test_database": {' + '\n' + ' "host": "127.0.0.1",' + '\n' + ' "port": "27017",' + '\n' + ' "password": "",' + '\n' + ' "database": "1"' + '\n' + '}\n'+ + " or (level):\n" + + '"test_database": {' + '\n' + + ' "database": "/path/to/database"' + '\n' + + '}\n'+ "===========================================================" ); winston.error(errorText);