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:
parent
23c4ceca9d
commit
1951cbd236
|
@ -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" },
|
||||
|
|
Loading…
Reference in New Issue