       describe 'should call request.on', ->
         { requestObject, callback } = context
 
-        describe 'with error callback', ->
+        it 'with error callback', ->
           assert.ok requestObject.on.calledWith 'error', callback
 
-        describe 'with response callback', ->
+        it 'with response callback', ->
           assert.ok requestObject.on.calledWith 'response'
 
         describe 'with response handler to', ->

    connector = new Connector connector: close: close
    connector.close callback

    it 'should callback underlying connector.close': ->
      assert.ok close.calledOnce
      assert.ok close.calledWith callback


          ///.test(js.fn)

    describe 'with data emitter', ->
      data = on: sinon.stub()
      context = factory data: data

      describe 'should call connector.request', ->
        calledOnce returningRequestObject context

        it 'with data', ->
          { request } = context
          arg0 = request.getCall(0).args[0]
          assert.strictEqual arg0.data, data

    describe 'with callback', ->
      callback = sinon.stub()
