);
          }, function() {
            expect(request.succeeded).to.be.equal(false);
            expect(request.xhr.status).to.be.equal(0);
            expect(request.timedOut).to.be.equal(true);
            return timePasses(1);
          }).then(function() {
            expect(ajax.loading).to.be.equal(false);
            expect(ajax.lastResponse).to.be.equal(null);
            expect(ajax.lastError).to.not.be.equal(null);
          });
        });
      });

      suite('when using the bubbles attribut