##// END OF EJS Templates
Read attachment fixtures in binary mode....
Jean-Philippe Lang -
r4483:1c7079db3fb0
parent child
Show More
@@ -59,7 +59,7 class ActiveSupport::TestCase
59 end
59 end
60
60
61 def uploaded_test_file(name, mime)
61 def uploaded_test_file(name, mime)
62 ActionController::TestUploadedFile.new(ActiveSupport::TestCase.fixture_path + "/files/#{name}", mime)
62 ActionController::TestUploadedFile.new(ActiveSupport::TestCase.fixture_path + "/files/#{name}", mime, true)
63 end
63 end
64
64
65 # Mock out a file
65 # Mock out a file
General Comments 0
You need to be logged in to leave comments. Login now