summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb17
1 files changed, 0 insertions, 17 deletions
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