mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user