git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jQuery.ajax modified the passed-in object only to help test the code - this shouldn...
[jquery.git]
/
test
/
unit
/
ajax.js
diff --git
a/test/unit/ajax.js
b/test/unit/ajax.js
index
5d791be
..
1fcf5ea
100644
(file)
--- a/
test/unit/ajax.js
+++ b/
test/unit/ajax.js
@@
-368,6
+368,10
@@
test("ajax cache", function () {
ok( jQuery.ajax({url: "data/text.php?name=David&_=tobereplaced555&washere=true", cache:false}), "test with 2 parameters surrounding _= one" );
});
ok( jQuery.ajax({url: "data/text.php?name=David&_=tobereplaced555&washere=true", cache:false}), "test with 2 parameters surrounding _= one" );
});
+/*
+ * Test disabled.
+ * The assertions expect that the passed-in object will be modified,
+ * which shouldn't be the case. Fixes #5439.
test("global ajaxSettings", function() {
expect(2);
test("global ajaxSettings", function() {
expect(2);
@@
-389,6
+393,7
@@
test("global ajaxSettings", function() {
jQuery.ajaxSettings = tmp;
});
jQuery.ajaxSettings = tmp;
});
+*/
test("load(String)", function() {
expect(1);
test("load(String)", function() {
expect(1);