diff --git a/test/integration/routing/context_menus_test.rb b/test/integration/routing/context_menus_test.rb index 9a66beb0d..8a0f8b5c3 100644 --- a/test/integration/routing/context_menus_test.rb +++ b/test/integration/routing/context_menus_test.rb @@ -18,7 +18,16 @@ require File.expand_path('../../../test_helper', __FILE__) class RoutingContextMenusTest < ActionController::IntegrationTest - def test_context_menus + def test_context_menus_time_entries + ["get", "post"].each do |method| + assert_routing( + { :method => method, :path => "/time_entries/context_menu" }, + { :controller => 'context_menus', :action => 'time_entries' } + ) + end + end + + def test_context_menus_issues ["get", "post"].each do |method| assert_routing( { :method => method, :path => "/issues/context_menu" },