From 1fe0a1b5ebebb1372968606b85ce08b93bc145c8 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 21 Sep 2015 15:05:00 -0700 Subject: remove html_types set Now that `all` has it's own object, we don't need the html_types Set. --- actionpack/test/dispatch/mime_type_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test') diff --git a/actionpack/test/dispatch/mime_type_test.rb b/actionpack/test/dispatch/mime_type_test.rb index 791c6ff625..d9fb44f06d 100644 --- a/actionpack/test/dispatch/mime_type_test.rb +++ b/actionpack/test/dispatch/mime_type_test.rb @@ -165,7 +165,7 @@ class MimeTypeTest < ActiveSupport::TestCase assert mime.respond_to?("#{type}?"), "#{mime.inspect} does not respond to #{type}?" assert_equal type, mime.symbol, "#{mime.inspect} is not #{type}?" invalid_types = types - [type] - invalid_types.delete(:html) if Mime::Type.html_types.include?(type) + invalid_types.delete(:html) invalid_types.each { |other_type| assert_not_equal mime.symbol, other_type, "#{mime.inspect} is #{other_type}?" } -- cgit v1.2.3