summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-15 10:03:34 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-15 10:03:34 +0000
commit39e7bab2b9aed464973ef35a6c0b63ec774a0ad0 (patch)
treed553bea9b67d8fe0648a7f1978d0eed430088c77 /test/functional
parent0d86303e3f612312c7fe21ca01df914bf5d76467 (diff)
downloadredmine-39e7bab2b9aed464973ef35a6c0b63ec774a0ad0.tar.gz
redmine-39e7bab2b9aed464973ef35a6c0b63ec774a0ad0.zip
Save the selected file just in case uploading stuff fails/is not supported.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11010 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/issues_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index 6c0ea7fca..f3632e83d 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -1000,7 +1000,7 @@ class IssuesControllerTest < ActionController::TestCase
get :show, :id => 1
assert_select 'form#issue-form[method=post][enctype=multipart/form-data]' do
- assert_select 'input[type=file][name=?]', 'attachments_files'
+ assert_select 'input[type=file][name=?]', 'attachments[dummy][file]'
end
end
@@ -1569,7 +1569,7 @@ class IssuesControllerTest < ActionController::TestCase
get :new, :project_id => 1, :tracker_id => 1
assert_select 'form[id=issue-form][method=post][enctype=multipart/form-data]' do
- assert_select 'input[name=?][type=file]', 'attachments_files'
+ assert_select 'input[name=?][type=file]', 'attachments[dummy][file]'
end
end