git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch.
[jquery.git]
/
test
/
unit
/
ajax.js
diff --git
a/test/unit/ajax.js
b/test/unit/ajax.js
index
fe44ba3
..
8e3c4b6
100644
(file)
--- a/
test/unit/ajax.js
+++ b/
test/unit/ajax.js
@@
-1163,6
+1163,19
@@
test("data option: evaluate function values (#2806)", function() {
})
});
})
});
+test("data option: empty bodies for non-GET requests", function() {
+ stop();
+ jQuery.ajax({
+ url: "data/echoData.php",
+ data: undefined,
+ type: "post",
+ success: function(result) {
+ equals( result, "" );
+ start();
+ }
+ })
+});
+
test("jQuery.ajax - If-Modified-Since support", function() {
expect( 3 );
test("jQuery.ajax - If-Modified-Since support", function() {
expect( 3 );