Skip to content
Browse files

Merge pull request #1878 from arunagw/mime_test_fix

Removing image/gif from this test.
  • Loading branch information...
2 parents 71d7c52 + 8c1f62a commit c290900a77908e4ba951de405469ba21dbb6f948 @josevalim josevalim committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/test/dispatch/mime_type_test.rb
View
6 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 c290900

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