Moves active counter test after all other ajax tests where it should be.
authorjaubourg <j@ubourg.net>
Wed, 19 Jan 2011 17:44:21 +0000 (18:44 +0100)
committerjaubourg <j@ubourg.net>
Wed, 19 Jan 2011 17:44:21 +0000 (18:44 +0100)
test/unit/ajax.js

index 3f672ae..52b0597 100644 (file)
@@ -1857,10 +1857,6 @@ test("jQuery ajax - atom+xml", function() {
 
 });
 
-test("jQuery.ajax - active counter", function() {
-    ok( jQuery.active == 0, "ajax active counter should be zero: " + jQuery.active );
-});
-
 test( "jQuery.ajax - Location object as url (#7531)", 1, function () {
        var success = false;
        try {
@@ -1942,6 +1938,10 @@ test( "jQuery.ajax - statusCode" , function() {
 
 });
 
+test("jQuery.ajax - active counter", function() {
+    ok( jQuery.active == 0, "ajax active counter should be zero: " + jQuery.active );
+});
+
 }
 
 //}
\ No newline at end of file