Commits

Toshi MARUYAMA committed 8ff466a

test: route: add bulk edit time logs tests

  • Participants
  • Parent commits 4330140

Comments (0)

Files changed (1)

File test/integration/routing/timelog_test.rb

           :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