X-Git-Url: http://git.asbjorn.it/?p=jquery.git;a=blobdiff_plain;f=test%2Funit%2Fajax.js;h=9d088f3c72348a6e8e642729dc2468f517655555;hp=716ed9c970adbc379aaca8145d447317570048fa;hb=7c9a5e6016c2fcd38872367a891e5b3887d3df53;hpb=485fa0c42a71b4decc9cb1ce08bb56efabcc76f3 diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 716ed9c..9d088f3 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -2077,12 +2077,12 @@ test("jQuery.ajax - transitive conversions", function() { jQuery.ajax( url("data/json.php") , { converters: { - "json myjson": function( data ) { + "json myJson": function( data ) { ok( true , "converter called" ); return data; } }, - dataType: "myjson", + dataType: "myJson", success: function() { ok( true , "Transitive conversion worked" ); strictEqual( this.dataTypes[0] , "text" , "response was retrieved as text" ); @@ -2092,13 +2092,13 @@ test("jQuery.ajax - transitive conversions", function() { jQuery.ajax( url("data/json.php") , { converters: { - "json myjson": function( data ) { + "json myJson": function( data ) { ok( true , "converter called (*)" ); return data; } }, contents: false, /* headers are wrong so we ignore them */ - dataType: "* myjson", + dataType: "* myJson", success: function() { ok( true , "Transitive conversion worked (*)" ); strictEqual( this.dataTypes[0] , "text" , "response was retrieved as text (*)" );