it("bubbles error from success callback", function(done) {
            givenAjaxCallWillSucceed();

            error = new Error();