@@ -18,7 +18,16 | |||
|
18 | 18 | require File.expand_path('../../../test_helper', __FILE__) |
|
19 | 19 | |
|
20 | 20 | class RoutingContextMenusTest < ActionController::IntegrationTest |
|
21 | def test_context_menus | |
|
21 | def test_context_menus_time_entries | |
|
22 | ["get", "post"].each do |method| | |
|
23 | assert_routing( | |
|
24 | { :method => method, :path => "/time_entries/context_menu" }, | |
|
25 | { :controller => 'context_menus', :action => 'time_entries' } | |
|
26 | ) | |
|
27 | end | |
|
28 | end | |
|
29 | ||
|
30 | def test_context_menus_issues | |
|
22 | 31 | ["get", "post"].each do |method| |
|
23 | 32 | assert_routing( |
|
24 | 33 | { :method => method, :path => "/issues/context_menu" }, |
General Comments 0
You need to be logged in to leave comments.
Login now