diff options
author | Aman Gupta <aman@tmm1.net> | 2015-01-02 21:04:14 -0800 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2015-01-02 21:04:14 -0800 |
commit | d22e2383fe7dc963af128130336264ba2dfccbeb (patch) | |
tree | cdff62f0decbee21c55c36290e3652c3a29c8577 | |
parent | 98dbc5e3cc248859b8c881dbcd228f8ad0743f21 (diff) | |
download | rails-d22e2383fe7dc963af128130336264ba2dfccbeb.tar.gz rails-d22e2383fe7dc963af128130336264ba2dfccbeb.tar.bz2 rails-d22e2383fe7dc963af128130336264ba2dfccbeb.zip |
parse stringified mime type
-rw-r--r-- | actionpack/test/dispatch/mime_type_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/mime_type_test.rb b/actionpack/test/dispatch/mime_type_test.rb index a1a7ceff03..1869325d21 100644 --- a/actionpack/test/dispatch/mime_type_test.rb +++ b/actionpack/test/dispatch/mime_type_test.rb @@ -7,7 +7,7 @@ class MimeTypeTest < ActiveSupport::TestCase test "parse single" do Mime::LOOKUP.keys.each do |mime_type| unless mime_type == 'image/*' - assert_equal [Mime::Type.lookup(mime_type)], Mime::Type.parse(mime_type) + assert_equal [Mime::Type.lookup(mime_type)], Mime::Type.parse(mime_type.to_s) end end end |