ds_to_get_with_json';
          ajax.timeout = 5000; // 5 Seconds

          request = ajax.generateRequest();
          expect(request.xhr.timeout).to.be.equal(5000); // 5 Seconds
        });

        test('it fails once that timeout is reached', function() {
          var ajax = fixture('Delay');
          ajax.timeout = 1; // 1 Millisecond

          request = ajax.generateRequest();
          return request.completes.then(function() {
            throw new Error('Expected the request to throw an error.'