@@ -119,15 +119,13 class RoutingIssuesTest < ActionController::IntegrationTest | |||
|
119 | 119 | { :controller => 'issues', :action => 'new', :project_id => '23', |
|
120 | 120 | :copy_from => '64' } |
|
121 | 121 | ) |
|
122 | assert_routing( | |
|
123 | { :method => 'get', :path => "/issues/bulk_edit" }, | |
|
124 | { :controller => 'issues', :action => 'bulk_edit' } | |
|
125 | ) | |
|
126 | 122 | # For updating the bulk edit form |
|
127 | assert_routing( | |
|
128 | { :method => 'post', :path => "/issues/bulk_edit" }, | |
|
129 | { :controller => 'issues', :action => 'bulk_edit' } | |
|
130 | ) | |
|
123 | ["get", "post"].each do |method| | |
|
124 | assert_routing( | |
|
125 | { :method => method, :path => "/issues/bulk_edit" }, | |
|
126 | { :controller => 'issues', :action => 'bulk_edit' } | |
|
127 | ) | |
|
128 | end | |
|
131 | 129 | assert_routing( |
|
132 | 130 | { :method => 'post', :path => "/issues/bulk_update" }, |
|
133 | 131 | { :controller => 'issues', :action => 'bulk_update' } |
General Comments 0
You need to be logged in to leave comments.
Login now