1
0
Fork 0
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:
Jeremy Kemper 2009-04-27 09:29:01 -07:00
parent c2b4da1c42
commit dde063507a

View file

@ -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