diff --git a/test/integration/routing/calendars_test.rb b/test/integration/routing/calendars_test.rb index c6aa5a6..fa14285 100644 --- a/test/integration/routing/calendars_test.rb +++ b/test/integration/routing/calendars_test.rb @@ -23,5 +23,10 @@ class RoutingCalendarsTest < ActionController::IntegrationTest { :method => 'get', :path => "/issues/calendar" }, { :controller => 'calendars', :action => 'show' } ) + assert_routing( + { :method => 'get', :path => "/projects/project-name/issues/calendar" }, + { :controller => 'calendars', :action => 'show', + :project_id => 'project-name' } + ) end end diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 6aadcee..e94c8be 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -115,11 +115,6 @@ class RoutingTest < ActionController::IntegrationTest :copy_from => '64' } ) assert_routing( - { :method => 'get', :path => "/projects/project-name/issues/calendar" }, - { :controller => 'calendars', :action => 'show', - :project_id => 'project-name' } - ) - assert_routing( { :method => 'get', :path => "/issues/gantt" }, { :controller => 'gantts', :action => 'show' } )