aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Serduke <davidserduke@gmail.com>2007-12-04 01:51:07 +0000
committerDavid Serduke <davidserduke@gmail.com>2007-12-04 01:51:07 +0000
commit701b072e1a104bce03df700c5f620d4000ccd573 (patch)
tree0166f52b4f6d84423368a796a9e08625bd53bfe3
parent66fbbec3bb2d0555da55eea4abae0081484d37b4 (diff)
downloadjquery-701b072e1a104bce03df700c5f620d4000ccd573.tar.gz
jquery-701b072e1a104bce03df700c5f620d4000ccd573.zip
There was a disabled test in the ajax test suite which said there were too many simultainous requests. I re-enabled it when I found a bug that might have been the cause of the failure instead and it seems to work fine. We can disable it again if that ends up not being the case.
-rw-r--r--test/unit/ajax.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index 3e2ac9f2b..2b3cfb656 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -218,23 +218,21 @@ test("synchronous request with callbacks", function() {
});
test("pass-through request object", function() {
- expect(1);
+ expect(6);
stop(true);
var target = "data/name.html";
var count = 0;
var success = function() {
- // Disabled
- //if(count++ == 5)
+ // Re-enabled because a bug was found in the unit test that probably caused the problem
+ if(++count == 5)
start();
};
- /* Test disabled, too many simultaneous requests
ok( $.get(url(target), success), "get" );
ok( $.post(url(target), success), "post" );
ok( $.getScript(url("data/test.js"), success), "script" );
ok( $.getJSON(url("data/json_obj.js"), success), "json" );
- */
ok( $.ajax({url: url(target), success: success}), "generic" );
});