mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Can't please them all
This commit is contained in:
parent
c2b4da1c42
commit
dde063507a
1 changed files with 1 additions and 2 deletions
|
@ -94,9 +94,8 @@ class MultipartParamsParsingTest < ActionController::IntegrationTest
|
|||
assert_equal %w(files foo), params.keys.sort
|
||||
assert_equal 'bar', params['foo']
|
||||
|
||||
# Ruby CGI doesn't handle multipart/mixed for us.
|
||||
# Rack doesn't handle multipart/mixed for us.
|
||||
files = params['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