       executed.should.be.true() unless err
       stdout.should.eql 'yes\n' unless err
       next err
-  
+
   they 'stream stdout and unpipe', (ssh, next) -> #.skip 'remote',
     @timeout 10000000
     writer_done = callback_done = null

      return next err if err
      executed.should.be.false()
      next()
  
  they 'should honor conditions', (ssh, next) ->
    mecano
      ssh: ssh

      stdout.should.eql ''
      stderr.should.eql ''
      next()

  they 'validate exit code', (ssh, next) ->
    # code undefined
    mecano
      ssh: ssh
    .execute
      cmd: "exit 42"
    .then (err, executed) ->
      err.message.should.eql 'Invalid Exit Code: 42'
    .execute
      cmd: "exit 42"
      code: [0, 42]
    .then (err, executed) ->
      next err

