<commit_before>process.env.NODE_ENV = 'test';

var app = require('../server/app'),
    should = require("should"),
    mongoose = require('mongoose');
    config = require('../server/_config');



describe('app environment', function(){

  it ('should be "test"', function(done) {
    process.env.NODE_ENV.should.eql('test');
    process.env.NODE_ENV.should.not.eql('development');
    process.env.NODE_ENV.should.not.eql('stage');
    done();
  });

  it ('should be using the test database', function(done) {
    config.mongoURI[app.settings.env].should.eql("mongodb://localhost/hackathon-test");
    done();
  });

});<commit_msg>updated tests<commit_after>process.env.NODE_ENV = 'test';
var app = require('../server/app'),
    mongoose = require('mongoose'),
    assert = require("assert"),
    config = require('../server/_config');


describe('app environment', function(){
  it ('should be "test"', function(done) {
    assert.equal(process.env.NODE_ENV, 'test');
    assert.notEqual(process.env.NODE_ENV, 'development');
    assert.notEqual(process.env.NODE_ENV, 'stage');
    done();
  });

  it ('should be using the test database', function(done) {
    assert.equal(config.mongoURI[app.settings.env], "mongodb://localhost/hackathon-test");
    done();
  });

});
{'fraction_non_alphanumeric': 0.194815396700707, 'fraction_numerical': 0.0, 'mean_word_length': 4.116465863453815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7104363', 'n_tokens_mistral': 415, 'n_tokens_neox': 406, 'n_words': 71}