]> source.dussan.org Git - jquery.git/commitdiff
ajax test: Removed test for extending with null.
authorScott González <scott.gonzalez@gmail.com>
Wed, 7 May 2008 01:16:54 +0000 (01:16 +0000)
committerScott González <scott.gonzalez@gmail.com>
Wed, 7 May 2008 01:16:54 +0000 (01:16 +0000)
test/unit/ajax.js

index a5891c53efe2ede1c77f13b9063d64dff93bc486..fc2ab9e3367e60442b16b4b202cb607dbf5d7f44 100644 (file)
@@ -298,18 +298,14 @@ test("ajax cache", function () {
 });
 
 test("global ajaxSettings", function() {
-       expect(3);
+       expect(2);
 
        var tmp = jQuery.extend({}, jQuery.ajaxSettings);
-    var orig = { url: "data/with_fries.xml", data: null };
+    var orig = { url: "data/with_fries.xml" };
        var t;
 
        $.ajaxSetup({ data: {foo: 'bar', bar: 'BAR'} });
 
-    t = jQuery.extend({}, orig);
-    $.ajax(t);
-       ok( t.url.indexOf('foo') > -1 && t.url.indexOf('bar') > -1, "Check extending null" );
-
     t = jQuery.extend({}, orig);
        t.data = {};
     $.ajax(t);