 mock =
   request:
     hashid: "ffffffffffffffffffffffffffffffff"
-  api_key: "eu1-384fd8a73c7ff0859a5891f9f4083b1b9727f9c3"
+    api_key: "eu1-384fd8a73c7ff0859a5891f9f4083b1b9727f9c3"
   query: "iphone"
   sort:
     Object:

        res.should.to.be.deep.equal response
        done()

    it 'search with type and query', (done) ->
      response =
        field: "value"


    it 'sanitizeQuery', ->
      # checks if words are longer than 55 chars and the whole query is longer than 255 chars
      client = new doofinder.Client mock.request.hashid, mock.request.api_key
      # checks valid query
      query = "hello world"
      sanitized = client._sanitizeQuery query, (query) -> return query
