diff --git a/test/test_helper.rb b/test/test_helper.rb index be87c63..a6ef56b 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -59,7 +59,7 @@ class ActiveSupport::TestCase end def uploaded_test_file(name, mime) - ActionController::TestUploadedFile.new(ActiveSupport::TestCase.fixture_path + "/files/#{name}", mime) + ActionController::TestUploadedFile.new(ActiveSupport::TestCase.fixture_path + "/files/#{name}", mime, true) end # Mock out a file