From 5311565223cca0158cb44f4fffa812ce8dd4a4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 7 May 2008 01:16:54 +0000 Subject: [PATCH] ajax test: Removed test for extending with null. --- test/unit/ajax.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/unit/ajax.js b/test/unit/ajax.js index a5891c53e..fc2ab9e33 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -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);