Permalink
Browse files

No need to register again. As it's default now.

Removing gif from here because when it got unregister it start failing other places.
  • Loading branch information...
arunagw committed Jun 28, 2011
1 parent e3053ee commit 8c1f62acda93d18728d8176d055c2f64edcf6e03
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/test/dispatch/mime_type_test.rb
@@ -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

0 comments on commit 8c1f62a

Please sign in to comment.