mirror of
https://github.com/redmine/redmine.git
synced 2026-07-20 09:42:14 +02:00
Renames uploaded_test_file helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2909 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -75,7 +75,7 @@ class DocumentsControllerTest < ActionController::TestCase
|
||||
:document => { :title => 'DocumentsControllerTest#test_post_new',
|
||||
:description => 'This is a new document',
|
||||
:category_id => 2},
|
||||
:attachments => {'1' => {'file' => test_uploaded_file('testfile.txt', 'text/plain')}}
|
||||
:attachments => {'1' => {'file' => uploaded_test_file('testfile.txt', 'text/plain')}}
|
||||
|
||||
assert_redirected_to 'projects/ecookbook/documents'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user