From 9f83eaa7a2e344f07e034c7f794a273efb059473 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Tue, 1 Sep 2015 10:18:17 -0700 Subject: [PATCH] Fix #311 by setting default for tests to 'silent' --- spec/helper.js | 4 +--- spec/lib/config.spec.js | 1 - spec/lib/logger.spec.js | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/spec/helper.js b/spec/helper.js index 519a4f0..49b2271 100644 --- a/spec/helper.js +++ b/spec/helper.js @@ -30,9 +30,7 @@ var Cylon = require("./../"); Cylon.config({ mode: "manual", - logging: { - logger: false - } + silent: true }); Cylon.Logger.setup(); diff --git a/spec/lib/config.spec.js b/spec/lib/config.spec.js index e26facb..3d8a7e6 100644 --- a/spec/lib/config.spec.js +++ b/spec/lib/config.spec.js @@ -4,7 +4,6 @@ var config = lib("config"); describe("config", function() { it("contains configuration options", function() { - expect(config.logging).to.be.an("object"); expect(config.testMode).to.be.eql(false); }); diff --git a/spec/lib/logger.spec.js b/spec/lib/logger.spec.js index e5eab46..230ee48 100644 --- a/spec/lib/logger.spec.js +++ b/spec/lib/logger.spec.js @@ -7,6 +7,7 @@ describe("Logger", function() { afterEach(function() { // to be friendly to other specs Config.logger = false; + Config.silent = false; Logger.setup(); });