@@ -200,4 +200,22 class RoutingTimelogsTest < ActionController::IntegrationTest | |||||
200 | :format => 'csv' } |
|
200 | :format => 'csv' } | |
201 | ) |
|
201 | ) | |
202 | end |
|
202 | end | |
|
203 | ||||
|
204 | def test_timelogs_bulk_edit | |||
|
205 | assert_routing( | |||
|
206 | { :method => 'delete', | |||
|
207 | :path => "/time_entries/destroy" }, | |||
|
208 | { :controller => 'timelog', :action => 'destroy' } | |||
|
209 | ) | |||
|
210 | assert_routing( | |||
|
211 | { :method => 'post', | |||
|
212 | :path => "/time_entries/bulk_update" }, | |||
|
213 | { :controller => 'timelog', :action => 'bulk_update' } | |||
|
214 | ) | |||
|
215 | assert_routing( | |||
|
216 | { :method => 'get', | |||
|
217 | :path => "/time_entries/bulk_edit" }, | |||
|
218 | { :controller => 'timelog', :action => 'bulk_edit' } | |||
|
219 | ) | |||
|
220 | end | |||
203 | end |
|
221 | end |
General Comments 0
You need to be logged in to leave comments.
Login now