diff -r 6665fa16aa45 -r cd2ea273007a web/test/jstests/test_ajax.js --- a/web/test/jstests/test_ajax.js Fri Feb 18 09:33:51 2011 +0100 +++ b/web/test/jstests/test_ajax.js Fri Feb 18 10:18:28 2011 +0100 @@ -44,7 +44,7 @@ callback: function() { var origLength = scriptsIncluded.length; scriptsIncluded = jsSources(); - // check that foo.js has been inserted in + // check that foo.js has been *appended* to equals(scriptsIncluded.length, origLength + 1); equals(scriptsIncluded[origLength].indexOf('http://foo.js'), 0); // check that
has been removed @@ -105,7 +105,7 @@ test('test callback after synchronous request with parameters', function() { var deferred = new Deferred(); var result = jQuery.ajax({ - url: './ajax_url0.html', + url: '/../ajax_url0.html', async: false, beforeSend: function(xhr) { deferred._req = xhr;