Skip to content

Commit

Permalink
Allow different databse for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ppers committed Mar 5, 2014
1 parent 96f0f2b commit 494fc55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/init.js
Expand Up @@ -3,7 +3,7 @@ module.exports = require('should');
var Schema = require('jugglingdb').Schema;

global.getSchema = function() {
var db = new Schema(__dirname + '/..');
var db = new Schema(__dirname + '/..', {url: "http://localhost:8529/" + (process.env.TESTDATABASE || "") });
db.name = 'arango';
return db;
};
Expand Down

0 comments on commit 494fc55

Please sign in to comment.