diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-10-10 14:56:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-10-10 14:56:29 +0000 |
commit | ac8a67191f4a104ebc4c10847a3c29a549a501c0 (patch) | |
tree | 89576ed668b1e16056fd40cab43b983c590a0f1d /test/test_helper.rb | |
parent | 94d34887cca99261bc8989688ab2c1f60fc35b3b (diff) | |
download | redmine-ac8a67191f4a104ebc4c10847a3c29a549a501c0.tar.gz redmine-ac8a67191f4a104ebc4c10847a3c29a549a501c0.zip |
Renames uploaded_test_file helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2909 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index fba2987d3..308b43097 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -54,7 +54,7 @@ class ActiveSupport::TestCase assert_equal login, User.find(session[:user_id]).login end - def test_uploaded_file(name, mime) + def uploaded_test_file(name, mime) ActionController::TestUploadedFile.new(ActiveSupport::TestCase.fixture_path + "/files/#{name}", mime) end |