aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-12-30 17:50:17 +0000
committerPratik Naik <pratiknaik@gmail.com>2008-12-30 17:50:17 +0000
commit82443ecfad5e756da922d6a166b0093c8a74d720 (patch)
treea678bd1d9dc68120f975e91e70918ca0972b2106 /actionpack/test
parenta29369ae4ac705fbbd4ac0c0325468e50e4eeca0 (diff)
parent5138f755ff31a8f317d649a6f256c74bc371db70 (diff)
downloadrails-82443ecfad5e756da922d6a166b0093c8a74d720.tar.gz
rails-82443ecfad5e756da922d6a166b0093c8a74d720.tar.bz2
rails-82443ecfad5e756da922d6a166b0093c8a74d720.zip
Merge commit 'fred/pullable'
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/request_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/request_test.rb b/actionpack/test/controller/request_test.rb
index 349cea268f..c93d3152b8 100644
--- a/actionpack/test/controller/request_test.rb
+++ b/actionpack/test/controller/request_test.rb
@@ -441,6 +441,7 @@ class UrlEncodedRequestParameterParsingTest < ActiveSupport::TestCase
def test_deep_query_string_with_array_of_hash
assert_equal({'x' => {'y' => [{'z' => '10'}]}}, ActionController::RequestParser.parse_query_parameters('x[y][][z]=10'))
assert_equal({'x' => {'y' => [{'z' => '10', 'w' => '10'}]}}, ActionController::RequestParser.parse_query_parameters('x[y][][z]=10&x[y][][w]=10'))
+ assert_equal({'x' => {'y' => [{'z' => '10', 'v' => {'w' => '10'}}]}}, ActionController::RequestParser.parse_query_parameters('x[y][][z]=10&x[y][][v][w]=10'))
end
def test_deep_query_string_with_array_of_hashes_with_one_pair