aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/routing_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-03-06 07:47:23 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-03-06 07:47:23 +0000
commite17df19b86a2ad0ed8c5657ef046c3e82cf6d63b (patch)
tree6be3fd7d147287fd6410b209d3f01e3fa056e423 /actionpack/test/controller/routing_test.rb
parent2b7dbad8e081b1ce84a7262b1b0953254bf8f651 (diff)
downloadrails-e17df19b86a2ad0ed8c5657ef046c3e82cf6d63b.tar.gz
rails-e17df19b86a2ad0ed8c5657ef046c3e82cf6d63b.tar.bz2
rails-e17df19b86a2ad0ed8c5657ef046c3e82cf6d63b.zip
Allow array and hash query parameters. Array route parameters are converted/to/a/path as before. References #6765, #7462. Closes #7047.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/routing_test.rb')
-rw-r--r--actionpack/test/controller/routing_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb
index f9e4de7dfb..defc64bba2 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -1008,7 +1008,7 @@ class RouteTest < Test::Unit::TestCase
end
def test_expand_array_build_query_string
- assert_equal '?x[]=1&x[]=2', order_query_string(@route.build_query_string(:x => [1, 2]))
+ assert_equal '?x%5B%5D=1&x%5B%5D=2', order_query_string(@route.build_query_string(:x => [1, 2]))
end
def test_escape_spaces_build_query_string_selected_keys