@@ -23,5 +23,10 class RoutingCalendarsTest < ActionController::IntegrationTest | |||
|
23 | 23 | { :method => 'get', :path => "/issues/calendar" }, |
|
24 | 24 | { :controller => 'calendars', :action => 'show' } |
|
25 | 25 | ) |
|
26 | assert_routing( | |
|
27 | { :method => 'get', :path => "/projects/project-name/issues/calendar" }, | |
|
28 | { :controller => 'calendars', :action => 'show', | |
|
29 | :project_id => 'project-name' } | |
|
30 | ) | |
|
26 | 31 | end |
|
27 | 32 | end |
@@ -115,11 +115,6 class RoutingTest < ActionController::IntegrationTest | |||
|
115 | 115 | :copy_from => '64' } |
|
116 | 116 | ) |
|
117 | 117 | assert_routing( |
|
118 | { :method => 'get', :path => "/projects/project-name/issues/calendar" }, | |
|
119 | { :controller => 'calendars', :action => 'show', | |
|
120 | :project_id => 'project-name' } | |
|
121 | ) | |
|
122 | assert_routing( | |
|
123 | 118 | { :method => 'get', :path => "/issues/gantt" }, |
|
124 | 119 | { :controller => 'gantts', :action => 'show' } |
|
125 | 120 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now