'use strict';

module.exports = function(runtime, stdout){

  var path = require('path');

  stdout.enable();
  it('config props [env, argv, parse, timer, name]', function(){

    console.log(runtime.config())
    runtime.config().should.have
      .properties('env', 'parse', 'timer', 'name');
  });

  it('env props [cwd, gulpfile, cliPackage, modulePackage]', function(){

    runtime.config().env.should.have
      .properties('INIT_CWD', 'gulpfile', 'cliPackage', 'modulePackage');
  });

  /*
   * Note: make better tests for this
   */
  it('env.gulpfile if is defined, matches the required file', function(){

    var gulpfile = runtime.config().argv;

    if( gulpfile ){
      gulpfile.should.be
        .a.String.and.be.exactly(
          require.resolve(path.resolve('.', 'gulpfile'))
        );
    } else {
      (gulpfile === void 0).should.be.true;
    }

  });

};

@@ -173,42 +173,8 @@
 )%7B%0A%0A
-    console.log(runtime.config())%0A
     

remove console.log from _config.js tests