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:
parent
f37ee781fb
commit
e9ec49a705
|
@ -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
|
||||
|
|
|
@ -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' }
|
||||
|
|
Loading…
Reference in New Issue