1
0
Fork 0
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:
Jeremy Kemper 2009-04-27 00:17:02 -07:00
parent a88ddf8cc3
commit c2b4da1c42

View file

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