aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-06-19 20:41:15 -0400
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-10 01:35:58 -0300
commit2a3718f434ac9dfeac3473c41a78d81aba9dbc1b (patch)
tree773b6c5d965b754fde0cfee154454df36f3fe7db /actionpack/test
parent98b8309569a326910a723f521911e54994b112fb (diff)
downloadrails-2a3718f434ac9dfeac3473c41a78d81aba9dbc1b.tar.gz
rails-2a3718f434ac9dfeac3473c41a78d81aba9dbc1b.tar.bz2
rails-2a3718f434ac9dfeac3473c41a78d81aba9dbc1b.zip
Remove deprecated access to mime types through constants
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/dispatch/mime_type_test.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/actionpack/test/dispatch/mime_type_test.rb b/actionpack/test/dispatch/mime_type_test.rb
index 421ae6e133..e558efb88d 100644
--- a/actionpack/test/dispatch/mime_type_test.rb
+++ b/actionpack/test/dispatch/mime_type_test.rb
@@ -167,18 +167,6 @@ class MimeTypeTest < ActiveSupport::TestCase
end
end
- test "deprecated lookup" do
- assert_deprecated do
- Mime::HTML
- end
- end
-
- test "deprecated const_defined?" do
- assert_deprecated do
- Mime.const_defined? :HTML
- end
- end
-
test "references gives preference to symbols before strings" do
assert_equal :html, Mime[:html].ref
another = Mime::Type.lookup("foo/bar")