mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 19:05:51 +01:00
Added ability to edit issues from different project through contextual menu (#5332)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4242 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -85,6 +85,18 @@ class ContextMenusControllerTest < ActionController::TestCase
|
||||
assert_response :success
|
||||
assert_template 'context_menu'
|
||||
ids = "ids%5B%5D=1&ids%5B%5D=2&ids%5B%5D=6"
|
||||
assert_tag :tag => 'a', :content => 'Edit',
|
||||
:attributes => { :href => "/issues/bulk_edit?#{ids}",
|
||||
:class => 'icon-edit' }
|
||||
assert_tag :tag => 'a', :content => 'Closed',
|
||||
:attributes => { :href => "/issues/bulk_edit?#{ids}&issue%5Bstatus_id%5D=5",
|
||||
:class => '' }
|
||||
assert_tag :tag => 'a', :content => 'Immediate',
|
||||
:attributes => { :href => "/issues/bulk_edit?#{ids}&issue%5Bpriority_id%5D=8",
|
||||
:class => '' }
|
||||
assert_tag :tag => 'a', :content => 'John Smith',
|
||||
:attributes => { :href => "/issues/bulk_edit?#{ids}&issue%5Bassigned_to_id%5D=2",
|
||||
:class => '' }
|
||||
assert_tag :tag => 'a', :content => 'Delete',
|
||||
:attributes => { :href => "/issues/destroy?#{ids}",
|
||||
:class => 'icon-del' }
|
||||
|
||||
Reference in New Issue
Block a user