Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleanup Mime::LOOKUP after registering image/gif

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
commit c9147ebfa06023248b5e738f0928973ddc084da7 1 parent 4154c65
@neerajdotname neerajdotname authored josevalim committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  actionpack/test/dispatch/mime_type_test.rb
View
1  actionpack/test/dispatch/mime_type_test.rb
@@ -71,6 +71,7 @@ class MimeTypeTest < ActiveSupport::TestCase
end
ensure
Mime.module_eval { remove_const :GIF if const_defined?(:GIF) }
+ Mime::LOOKUP.reject!{|key,_| key == 'image/gif'}
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.