aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-09-21 15:05:00 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-09-21 15:05:00 -0700
commit1fe0a1b5ebebb1372968606b85ce08b93bc145c8 (patch)
treea1cca6eafe1cbfba5c1881ce84781979f05119c4 /actionpack/test
parentd74c8e53b86b2b163bef86143e2fa191b1f64ff4 (diff)
downloadrails-1fe0a1b5ebebb1372968606b85ce08b93bc145c8.tar.gz
rails-1fe0a1b5ebebb1372968606b85ce08b93bc145c8.tar.bz2
rails-1fe0a1b5ebebb1372968606b85ce08b93bc145c8.zip
remove html_types set
Now that `all` has it's own object, we don't need the html_types Set.
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/dispatch/mime_type_test.rb2
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 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}?"
}