Skip to content

Commit

Permalink
Fix datastore test
Browse files Browse the repository at this point in the history
  • Loading branch information
gluxon committed Apr 6, 2015
1 parent 5024c9d commit 389c97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var mongoose = require('mongoose');
var yaml = require('js-yaml');

// Grab settings
var datastore = yaml.load(fs.readFileSync(__dirname + '/../config/datastore.yaml', 'utf8'));
var datastore = require(`${__dirname}/config/datastore`);
var mongodb_uri = datastore.mongodb_uri || process.env.MONGODB_URI || 'localhost';

describe('MongoDB', function() {
Expand Down

0 comments on commit 389c97c

Please sign in to comment.