Copy issues via bulk update action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8538 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -47,7 +47,7 @@ class ContextMenusControllerTest < ActionController::TestCase
|
||||
:attributes => { :href => '/projects/ecookbook/issues/1/copy',
|
||||
:class => 'icon-duplicate' }
|
||||
assert_tag :tag => 'a', :content => 'Copy',
|
||||
:attributes => { :href => '/issues/move/new?copy_options%5Bcopy%5D=t&ids%5B%5D=1',
|
||||
:attributes => { :href => '/issues/bulk_edit?copy=1&ids%5B%5D=1',
|
||||
:class => 'icon-copy' }
|
||||
assert_no_tag :tag => 'a', :content => 'Move'
|
||||
assert_tag :tag => 'a', :content => 'Delete',
|
||||
@@ -86,7 +86,7 @@ class ContextMenusControllerTest < ActionController::TestCase
|
||||
:attributes => { :href => "/issues/bulk_update?#{ids}&issue%5Bassigned_to_id%5D=3",
|
||||
:class => '' }
|
||||
assert_tag :tag => 'a', :content => 'Copy',
|
||||
:attributes => { :href => "/issues/move/new?copy_options%5Bcopy%5D=t&#{ids}",
|
||||
:attributes => { :href => "/issues/bulk_edit?copy=1&#{ids}",
|
||||
:class => 'icon-copy' }
|
||||
assert_no_tag :tag => 'a', :content => 'Move'
|
||||
assert_tag :tag => 'a', :content => 'Delete',
|
||||
|
||||
Reference in New Issue
Block a user