test: route: move activities test in projects test to integration/routing/activities_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8346 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
20ead6d8f7
commit
79d227d34e
|
@ -27,5 +27,14 @@ class RoutingActivitiesTest < ActionController::IntegrationTest
|
|||
{ :method => 'get', :path => "/activity.atom" },
|
||||
{ :controller => 'activities', :action => 'index', :id => nil, :format => 'atom' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/projects/33/activity" },
|
||||
{ :controller => 'activities', :action => 'index', :id => '33' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/projects/33/activity.atom" },
|
||||
{ :controller => 'activities', :action => 'index', :id => '33',
|
||||
:format => 'atom' }
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -346,15 +346,6 @@ class RoutingTest < ActionController::IntegrationTest
|
|||
{ :method => 'get', :path => "/projects/33/roadmap" },
|
||||
{ :controller => 'versions', :action => 'index', :project_id => '33' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/projects/33/activity" },
|
||||
{ :controller => 'activities', :action => 'index', :id => '33' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/projects/33/activity.atom" },
|
||||
{ :controller => 'activities', :action => 'index', :id => '33',
|
||||
:format => 'atom' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'post', :path => "/projects" },
|
||||
{ :controller => 'projects', :action => 'create' }
|
||||
|
|
Loading…
Reference in New Issue