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(); });