diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-12 20:43:51 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-12 20:43:51 +0000 |
commit | ed5f487cf507988d573e815e8d5784fe17beff35 (patch) | |
tree | 9e1b4902d7c1133143305886a253d2fe471e8010 /test/integration/issues_test.rb | |
parent | e13a763ab4d22d31b0935fe949dbcd32db5e1a26 (diff) | |
download | redmine-ed5f487cf507988d573e815e8d5784fe17beff35.tar.gz redmine-ed5f487cf507988d573e815e8d5784fe17beff35.zip |
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
Diffstat (limited to 'test/integration/issues_test.rb')
-rw-r--r-- | test/integration/issues_test.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integration/issues_test.rb b/test/integration/issues_test.rb index 48ced6bc7..4f72b9839 100644 --- a/test/integration/issues_test.rb +++ b/test/integration/issues_test.rb @@ -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') |