mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Sufficient to test that multipart/mixed wasn't parsed to a hash
This commit is contained in:
parent
a88ddf8cc3
commit
c2b4da1c42
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class MultipartParamsParsingTest < ActionController::IntegrationTest
|
|||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue