提交 c2b4da1c 编写于 作者: J Jeremy Kemper

Sufficient to test that multipart/mixed wasn't parsed to a hash

上级 a88ddf8c
......@@ -96,7 +96,7 @@ def teardown
# Ruby CGI doesn't handle multipart/mixed for us.
files = params['files']
assert_kind_of Tempfile, files
assert_not_kind_of Hash, files
files.force_encoding('ASCII-8BIT') if files.respond_to?(:force_encoding)
assert_equal 19756, files.size
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册