aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/ajaxTest.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-09-05 17:22:13 +0000
committerJohn Resig <jeresig@gmail.com>2007-09-05 17:22:13 +0000
commit84eb2cffca04d231015e86a4c1d9d23f9efbd68e (patch)
treee7803855f8cb5e0cc4874a92945b8b3a9fbb38ae /src/ajax/ajaxTest.js
parentad5539bab3e1d6806e054dd5b14cf341a675ded0 (diff)
downloadjquery-84eb2cffca04d231015e86a4c1d9d23f9efbd68e.tar.gz
jquery-84eb2cffca04d231015e86a4c1d9d23f9efbd68e.zip
Forgot to update the $.param() tests.
Diffstat (limited to 'src/ajax/ajaxTest.js')
-rw-r--r--src/ajax/ajaxTest.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ajax/ajaxTest.js b/src/ajax/ajaxTest.js
index bf0d748d3..872ec0889 100644
--- a/src/ajax/ajaxTest.js
+++ b/src/ajax/ajaxTest.js
@@ -3,7 +3,7 @@ module("ajax");
// Safari 3 randomly crashes when running these tests,
// but only in the full suite - you can run just the Ajax
// tests and they'll pass
-if ( !jQuery.browser.safari ) {
+//if ( !jQuery.browser.safari ) {
test("$.ajax() - success callbacks", function() {
expect( 8 );
@@ -193,16 +193,16 @@ test("serialize()", function() {
test("$.param()", function() {
expect(4);
var params = {foo:"bar", baz:42, quux:"All your base are belong to us"};
- equals( $.param(params), "foo=bar&baz=42&quux=All%20your%20base%20are%20belong%20to%20us", "simple" );
+ equals( $.param(params), "foo=bar&baz=42&quux=All+your+base+are+belong+to+us", "simple" );
params = {someName: [1, 2, 3], regularThing: "blah" };
equals( $.param(params), "someName=1&someName=2&someName=3&regularThing=blah", "with array" );
params = {"foo[]":["baz", 42, "All your base are belong to us"]};
- equals( $.param(params), "foo%5B%5D=baz&foo%5B%5D=42&foo%5B%5D=All%20your%20base%20are%20belong%20to%20us", "more array" );
+ equals( $.param(params), "foo%5B%5D=baz&foo%5B%5D=42&foo%5B%5D=All+your+base+are+belong+to+us", "more array" );
params = {"foo[bar]":"baz", "foo[beep]":42, "foo[quux]":"All your base are belong to us"};
- equals( $.param(params), "foo%5Bbar%5D=baz&foo%5Bbeep%5D=42&foo%5Bquux%5D=All%20your%20base%20are%20belong%20to%20us", "even more arrays" );
+ equals( $.param(params), "foo%5Bbar%5D=baz&foo%5Bbeep%5D=42&foo%5Bquux%5D=All+your+base+are+belong+to+us", "even more arrays" );
});
test("synchronous request", function() {
@@ -638,4 +638,4 @@ test("custom timeout does not set error message when timeout occurs, see #970",
}
-}
+//}