empty schema test is not async

This commit is contained in:
Joe Fleming 2016-03-17 11:31:34 -07:00
parent 8790a7947d
commit f7cc5f12f0

View file

@ -43,13 +43,12 @@ describe('lib/config/config', function () {
describe('constructor', function () {
it('should not allow any config if the schema is not passed', function (done) {
it('should not allow any config if the schema is not passed', function () {
var config = new Config();
var run = function () {
config.set('something.enable', true);
};
expect(run).to.throwException();
done();
});
it('should set defaults', function () {