test: route: move remaining calendars test in test_issues_extra_actions to routing/calendars_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8335 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-12-24 01:40:30 +00:00
parent f37ee781fb
commit e9ec49a705
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -114,11 +114,6 @@ class RoutingTest < ActionController::IntegrationTest
{ :controller => 'issues', :action => 'new', :project_id => '23',
: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' }