提交 c290900a 编写于 作者: J José Valim

Merge pull request #1878 from arunagw/mime_test_fix

Removing image/gif from this test.
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册