X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Funit%2Fajax.js;h=61992706d59dbef8e17760f9706844b73a74b77b;hb=879799fe955f01b85b59fd8a0096d415fc48df03;hp=18122b984149bcc8fbd6f78c6e51f133f39c8df8;hpb=7862c45ad2f32096383a21b8b301155787724476;p=jquery.git diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 18122b9..6199270 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1247,8 +1247,16 @@ test("jQuery.ajax - If-Modified-Since support", function() { ok(data == null, "response body should be empty") } start(); + }, + error: function() { + equals(false, "error"); + start(); } }); + }, + error: function() { + equals(false, "error"); + start(); } }); }); @@ -1278,13 +1286,20 @@ test("jQuery.ajax - Etag support", function() { ok(data == null, "response body should be empty") } start(); + }, + error: function() { + equals(false, "error"); + start(); } }); + }, + error: function() { + equals(false, "error"); + start(); } }); }); - test("jQuery.ajax - active counter", function() { ok( jQuery.ajax.active == 0, "ajax active counter should be zero: " + jQuery.ajax.active ); });