Backported r9982 and r9984 from trunk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@10000 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-07-15 16:00:58 +00:00
parent 75e350f4e6
commit dbc02e66dc
5 changed files with 10 additions and 1 deletions
@@ -1305,6 +1305,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