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
This commit is contained in:
Toshi MARUYAMA 2011-12-30 02:15:04 +00:00
parent 23c4ceca9d
commit 1951cbd236
1 changed files with 10 additions and 1 deletions

View File

@ -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" },