     navigator.userAgent = 'Nasty Navigator' # kudos to @jesusenlanet: great Name!
     navigator.appVersion = '0.0.1'
     global.doofinder = require "../lib/doofinder.js"
-    @client = new doofinder.Client mock.request.hashid, mock.request.api_key
+
 
   afterEach () ->
     delete global.document

      # reset the query input, to get rid of callbacks
      $('body').empty().append('<input type="text" id="query"></input>')
      @queryInput = $('#query')

    it 'triggers a search on third character', (done) ->
      queryInputWidget = new doofinder.widgets.QueryInput '#query'


  context 'the results widget', ->

    beforeEach () ->
      scope = nock('http://fooserver')
        .get('/5/search')
        .query(true)
        .reply((uri, requestBody)->
