mirror of
https://github.com/redmine/redmine.git
synced 2025-11-03 03:46:19 +01:00
Adds maxlength=255 attribute on attachment description input field (#11365).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9982 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1405,6 +1405,7 @@ class IssuesControllerTest < ActionController::TestCase
|
||||
:tag => 'input',
|
||||
:attributes => {:type => 'file', :name => 'attachments[1][file]'}
|
||||
}
|
||||
assert_select 'input[name=?][maxlength=255]', 'attachments[1][description]'
|
||||
end
|
||||
|
||||
def test_get_new_should_prefill_the_form_from_params
|
||||
|
||||
Reference in New Issue
Block a user