From d22e2383fe7dc963af128130336264ba2dfccbeb Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Fri, 2 Jan 2015 21:04:14 -0800 Subject: parse stringified mime type --- actionpack/test/dispatch/mime_type_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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 -- cgit v1.2.3