diff options
author | Graham Conzett <gconzett@covermymeds.com> | 2015-10-19 13:53:34 -0400 |
---|---|---|
committer | Ryan T. Hosford <tad.hosford@gmail.com> | 2016-03-04 18:19:08 -0600 |
commit | 7f00781a7b9c75ddb86d0ab52132885ee88d5bac (patch) | |
tree | 29bed01f87ae33b22a811d42ae3c708abb823313 /test/spec_utils.rb | |
parent | 93d1de7dd8d5cd0429eddec61d6dc26cf0d8ec9b (diff) | |
download | rack-7f00781a7b9c75ddb86d0ab52132885ee88d5bac.tar.gz |
Fix normalize_params parsing arrays of hashes
Account for child_key being a key representing a nested hash
Closes rack/rack#951
Diffstat (limited to 'test/spec_utils.rb')
-rw-r--r-- | test/spec_utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_utils.rb b/test/spec_utils.rb index 780aa47a..6750932f 100644 --- a/test/spec_utils.rb +++ b/test/spec_utils.rb @@ -311,7 +311,7 @@ describe Rack::Utils do message.must_equal "value must be a Hash" end - should 'perform the inverse function of #parse_nested_query' do + it 'perform the inverse function of #parse_nested_query' do [{"foo" => nil, "bar" => ""}, {"foo" => "bar", "baz" => ""}, {"foo" => ["1", "2"]}, |