mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Merge pull request #1878 from arunagw/mime_test_fix
Removing image/gif from this test.
This commit is contained in:
@@ -86,12 +86,12 @@ class MimeTypeTest < ActiveSupport::TestCase
|
||||
|
||||
test "custom type" do
|
||||
begin
|
||||
Mime::Type.register("image/gif", :gif)
|
||||
Mime::Type.register("image/foo", :foo)
|
||||
assert_nothing_raised do
|
||||
assert_equal Mime::GIF, Mime::SET.last
|
||||
assert_equal Mime::FOO, Mime::SET.last
|
||||
end
|
||||
ensure
|
||||
Mime::Type.unregister(:gif)
|
||||
Mime::Type.unregister(:FOO)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user