         done()
 
       , ( error ) ->
-        done "rejected!"
+        done new Error "rejected!"
 
 
     it "should default to {} when no params specified", ( done ) ->

        done()

      , ( error ) ->
        done "rejected!"


    it "should reject promise when data.error exists", ( done ) ->


      , ( error ) ->
        clock.restore()
        done new Error "rejected!"


  describe "request", ->
