From 7cdd88a6ce3632c801223b33e5ccc2b9fc13651e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 4 Jul 2008 17:58:14 +0000 Subject: Merged Rails 2.1 compatibility branch. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1623 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/test_helper.rb | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'test/test_helper.rb') diff --git a/test/test_helper.rb b/test/test_helper.rb index 1340f9c35..f61b88d8c 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -65,20 +65,3 @@ class Test::Unit::TestCase Attachment.storage_path = "#{RAILS_ROOT}/tmp/test/attachments" end end - - -# ActionController::TestUploadedFile bug -# see http://dev.rubyonrails.org/ticket/4635 -class String - def original_filename - "testfile.txt" - end - - def content_type - "text/plain" - end - - def read - self.to_s - end -end -- cgit v1.2.3