Fixed broken issue form update when changing tracker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8195 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -64,6 +64,15 @@ class IssuesTest < ActionController::IntegrationTest
|
||||
assert_equal 1, issue.status.id
|
||||
end
|
||||
|
||||
def test_update_issue_form
|
||||
log_user('jsmith', 'jsmith')
|
||||
post 'projects/ecookbook/issues/new', :issue => { :tracker_id => "2"}
|
||||
assert_response :success
|
||||
assert_tag 'select',
|
||||
:attributes => {:name => 'issue[tracker_id]'},
|
||||
:child => {:tag => 'option', :attributes => {:value => '2', :selected => 'selected'}}
|
||||
end
|
||||
|
||||
# add then remove 2 attachments to an issue
|
||||
def test_issue_attachments
|
||||
log_user('jsmith', 'jsmith')
|
||||
|
||||
Reference in New Issue
Block a user