##// END OF EJS Templates
test: route: move remaining calendars test in test_issues_extra_actions to routing/calendars_test.rb...
Toshi MARUYAMA -
r8215:e9ec49a705dc
parent child
Show More
@@ -23,5 +23,10 class RoutingCalendarsTest < ActionController::IntegrationTest
23 { :method => 'get', :path => "/issues/calendar" },
23 { :method => 'get', :path => "/issues/calendar" },
24 { :controller => 'calendars', :action => 'show' }
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 end
31 end
27 end
32 end
@@ -115,11 +115,6 class RoutingTest < ActionController::IntegrationTest
115 :copy_from => '64' }
115 :copy_from => '64' }
116 )
116 )
117 assert_routing(
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 { :method => 'get', :path => "/issues/gantt" },
118 { :method => 'get', :path => "/issues/gantt" },
124 { :controller => 'gantts', :action => 'show' }
119 { :controller => 'gantts', :action => 'show' }
125 )
120 )
General Comments 0
You need to be logged in to leave comments. Login now