     .then (results) ->
       cartId = results.Cart.CartId
       cartHMAC = results.Cart.HMAC
-      done()
 
   describe 'when credentials are valid', ->
     client = amazonAffiliateApi.createClient credentials

  cartId = ''
  cartHMAC = ''

  before (done) ->
    client = amazonAffiliateApi.createClient credentials
    client.cartCreate
      items: [

        done()
      , 500

    afterEach () ->
      client.cartClear
        CartId: cartId
        HMAC: cartHMAC
      .then (results) ->

    describe 'when no callback is passed', ->
      it 'should return results from amazon', ->
