]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up uploaded_test_file of test/test_helper.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 20 Nov 2011 00:09:49 +0000 (00:09 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 20 Nov 2011 00:09:49 +0000 (00:09 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7855 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/test_helper.rb

index 653a97625d1eddcb250efda34a9793739bbdaf8e..cf79cf209a3b61e676dfdc247b9c656191f801dd 100644 (file)
@@ -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