Skip to content
This repository
Browse code

cleanup Mime::LOOKUP after registering image/gif

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
commit c9147ebfa06023248b5e738f0928973ddc084da7 1 parent 4154c65
Neeraj Singh authored November 22, 2010 josevalim committed November 22, 2010
1  actionpack/test/dispatch/mime_type_test.rb
@@ -71,6 +71,7 @@ class MimeTypeTest < ActiveSupport::TestCase
71 71
       end
72 72
     ensure
73 73
       Mime.module_eval { remove_const :GIF if const_defined?(:GIF) }
  74
+      Mime::LOOKUP.reject!{|key,_| key == 'image/gif'}
74 75
     end
75 76
   end
76 77
 

0 notes on commit c9147eb

Please sign in to comment.
Something went wrong with that request. Please try again.