From 1951cbd236a8f083ac1061b2f2327a47e34baf7d Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 30 Dec 2011 02:15:04 +0000 Subject: [PATCH] test: route: add time entries context menus test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8426 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/routing/context_menus_test.rb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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" },