var fs = require('fs');
var mongoose = require('mongoose');
var yaml = require('js-yaml');

// Grab settings
var database = yaml.load(fs.readFileSync(__dirname + '/../config/database.yaml', 'utf8'));
database.mongodb_uri = database.mongodb_uri || process.env['MONGODB_URI'] || 'localhost';

describe('MongoDB', function() {
  it('should connect', function(done) {
    mongoose.connect(database.mongodb_uri);

    var db = mongoose.connection;
    db.on('error', done);
    db.once('open', done);
  });
});

@@ -110,19 +110,20 @@
 var data
-bas
+stor
 e = yaml
@@ -172,19 +172,20 @@
 fig/data
-bas
+stor
 e.yaml',
@@ -195,27 +195,28 @@
 tf8'));%0Adata
-bas
+stor
 e.mongodb_ur
@@ -219,27 +219,28 @@
 b_uri = data
-bas
+stor
 e.mongodb_ur
@@ -390,11 +390,12 @@
 data
-bas
+stor
 e.mo

Fix test issue from renaming database.yaml