 stdout = ''
 report = ''
 exitStatus = null
-
-receivedRequest = {}
 
 #
 # To dump individual raw test results:


          server.on 'close', done

        before (done) ->
          runHeaderTestAsync done

        it 'should have an additional header in the request', () ->
          expect(receivedRequest.headers.accept).to.equal('application/json')

        it 'should print count of tests run', () ->
          expect(stdout).to.have.string('1 passing')

        it 'should exit normally', () ->
          expect(exitStatus).to.equal(0)


      describe 'when invoked with "--hookfiles" option', () ->

      before (done) ->
        runRamlIncludesTestAsync done

      it 'should print count of passing tests run', () ->
        expect(stdout).to.have.string('1 passing')

      it 'should exit normally', () ->
