twokul/leek — pull request #15 by aexmachina (2014-08-08 02:18:42+00:00)
Title: Fix Promises being incorrectly rejected

Returned Promises were being incorrectly rejected regardless of whether request() returned an error. FWIW, this suggests to me that your tests aren't checking your return values or their resolution.