summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-11-20 00:09:49 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-11-20 00:09:49 +0000
commit66d6d611baadb17326f144b350105043b9a9d466 (patch)
tree65000f3e8274aa12f01726ebf5ebb6f701fc3990 /test/test_helper.rb
parent1c97db4f10c36176586da340cd86b362c1466220 (diff)
downloadredmine-66d6d611baadb17326f144b350105043b9a9d466.tar.gz
redmine-66d6d611baadb17326f144b350105043b9a9d466.zip
code layout clean up uploaded_test_file of test/test_helper.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7855 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 653a97625..cf79cf209 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -59,7 +59,8 @@ class ActiveSupport::TestCase
end
def uploaded_test_file(name, mime)
- ActionController::TestUploadedFile.new(ActiveSupport::TestCase.fixture_path + "/files/#{name}", mime, true)
+ ActionController::TestUploadedFile.new(
+ ActiveSupport::TestCase.fixture_path + "/files/#{name}", mime, true)
end
# Mock out a file