Skip to content
Browse files

Sufficient to test that multipart/mixed wasn't parsed to a hash

  • Loading branch information...
1 parent a88ddf8 commit c2b4da1c425dd8e1cc6606d49aea53e4f7521b91 @jeremy jeremy committed Apr 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/dispatch/request/multipart_params_parsing_test.rb
View
2 actionpack/test/dispatch/request/multipart_params_parsing_test.rb
@@ -96,7 +96,7 @@ def teardown
# 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

0 comments on commit c2b4da1

Please sign in to comment.
Something went wrong with that request. Please try again.