aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/send_file_test.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/actionpack/test/controller/send_file_test.rb b/actionpack/test/controller/send_file_test.rb
index 2c833aa2e5..73ed33ce2d 100644
--- a/actionpack/test/controller/send_file_test.rb
+++ b/actionpack/test/controller/send_file_test.rb
@@ -33,17 +33,11 @@ class SendFileTest < ActionController::TestCase
include TestFileUtils
def setup
- @mime_type_defined = defined? Mime::PNG
- Mime::Type.register "image/png", :png unless @mime_type_defined
@controller = SendFileController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
- teardown do
- Mime::Type.unregister :png unless @mime_type_defined
- end
-
def test_file_nostream
@controller.options = { :stream => false }
response = nil