aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/request_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/request_test.rb')
-rw-r--r--actionpack/test/controller/request_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/controller/request_test.rb b/actionpack/test/controller/request_test.rb
index 4a43091823..1e6f6db8d8 100644
--- a/actionpack/test/controller/request_test.rb
+++ b/actionpack/test/controller/request_test.rb
@@ -652,6 +652,10 @@ class MultipartRequestParameterParsingTest < Test::Unit::TestCase
assert_equal({ 'foo' => 'bar' }, params)
end
+ def test_bracketed_param
+ assert_equal({ 'foo' => { 'baz' => 'bar'}}, process('bracketed_param'))
+ end
+
def test_text_file
params = process('text_file')
assert_equal %w(file foo), params.keys.sort