summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index be87c63f5..a6ef56b5f 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