diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-29 11:55:51 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-29 11:55:51 +0000 |
commit | 4ac7e94ad7ccb90785537d518a0cb0a54b8575a0 (patch) | |
tree | 83535e80e6c2e51db54118761defbd962d88193d | |
parent | 50848da16cdcd66f94fcd03b4ee8eeae3b3c578e (diff) | |
download | redmine-4ac7e94ad7ccb90785537d518a0cb0a54b8575a0.tar.gz redmine-4ac7e94ad7ccb90785537d518a0cb0a54b8575a0.zip |
test: route: add bulk edit time logs tests
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8422 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/integration/routing/timelog_test.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/integration/routing/timelog_test.rb b/test/integration/routing/timelog_test.rb index b5ce892e9..d4e2bc703 100644 --- a/test/integration/routing/timelog_test.rb +++ b/test/integration/routing/timelog_test.rb @@ -200,4 +200,22 @@ class RoutingTimelogsTest < ActionController::IntegrationTest :format => 'csv' } ) end + + def test_timelogs_bulk_edit + assert_routing( + { :method => 'delete', + :path => "/time_entries/destroy" }, + { :controller => 'timelog', :action => 'destroy' } + ) + assert_routing( + { :method => 'post', + :path => "/time_entries/bulk_update" }, + { :controller => 'timelog', :action => 'bulk_update' } + ) + assert_routing( + { :method => 'get', + :path => "/time_entries/bulk_edit" }, + { :controller => 'timelog', :action => 'bulk_edit' } + ) + end end |