mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-06 09:03:25 +00:00
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
This commit is contained in:
parent
1c97db4f10
commit
66d6d611ba
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user