test: route: simplify /issues/bulk_edit test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8544 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5e27e32dae
commit
df5551a4e5
@ -119,15 +119,13 @@ class RoutingIssuesTest < ActionController::IntegrationTest
|
||||
{ :controller => 'issues', :action => 'new', :project_id => '23',
|
||||
:copy_from => '64' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/issues/bulk_edit" },
|
||||
{ :controller => 'issues', :action => 'bulk_edit' }
|
||||
)
|
||||
# For updating the bulk edit form
|
||||
["get", "post"].each do |method|
|
||||
assert_routing(
|
||||
{ :method => 'post', :path => "/issues/bulk_edit" },
|
||||
{ :method => method, :path => "/issues/bulk_edit" },
|
||||
{ :controller => 'issues', :action => 'bulk_edit' }
|
||||
)
|
||||
end
|
||||
assert_routing(
|
||||
{ :method => 'post', :path => "/issues/bulk_update" },
|
||||
{ :controller => 'issues', :action => 'bulk_update' }
|
||||
|
Loading…
x
Reference in New Issue
Block a user