diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-27 00:17:02 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-27 00:17:02 -0700 |
commit | c2b4da1c425dd8e1cc6606d49aea53e4f7521b91 (patch) | |
tree | da853c7c358ca4440fe11f81b0ee6be1e1f50796 /actionpack | |
parent | a88ddf8cc327279258cd68b0ad4091a5d54e3507 (diff) | |
download | rails-c2b4da1c425dd8e1cc6606d49aea53e4f7521b91.tar.gz rails-c2b4da1c425dd8e1cc6606d49aea53e4f7521b91.tar.bz2 rails-c2b4da1c425dd8e1cc6606d49aea53e4f7521b91.zip |
Sufficient to test that multipart/mixed wasn't parsed to a hash
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/dispatch/request/multipart_params_parsing_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/request/multipart_params_parsing_test.rb b/actionpack/test/dispatch/request/multipart_params_parsing_test.rb index cc81a87cb9..aaf647e45a 100644 --- a/actionpack/test/dispatch/request/multipart_params_parsing_test.rb +++ b/actionpack/test/dispatch/request/multipart_params_parsing_test.rb @@ -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 |