diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-21 21:17:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-21 21:17:21 +0000 |
commit | 7f74044854eef6e4cdd0ac80c708ef9b8e01b6e3 (patch) | |
tree | c80b32d76c1e7a089bfc10889b7c90a707de8705 /test | |
parent | 94d9172634b2ace44217c80be8cd6deef50bce55 (diff) | |
download | redmine-7f74044854eef6e4cdd0ac80c708ef9b8e01b6e3.tar.gz redmine-7f74044854eef6e4cdd0ac80c708ef9b8e01b6e3.zip |
"New issue" menu item should not link to copy form (#12652).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11064 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issues_controller_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index f3632e83d..9d55e3b22 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -2356,6 +2356,9 @@ class IssuesControllerTest < ActionController::TestCase assert_tag 'select', :attributes => {:name => 'issue[project_id]'}, :child => {:tag => 'option', :attributes => {:value => '2', :selected => nil}, :content => 'OnlineStore'} assert_tag 'input', :attributes => {:name => 'copy_from', :value => '1'} + + # "New issue" menu item should not link to copy + assert_select '#main-menu a.new-issue[href=/projects/ecookbook/issues/new]' end def test_new_as_copy_with_attachments_should_show_copy_attachments_checkbox |