@@ -21,6 +21,10 class RoutingVersionsTest < ActionController::IntegrationTest | |||
|
21 | 21 | def test_versions |
|
22 | 22 | # /projects/foo/versions is /projects/foo/roadmap |
|
23 | 23 | assert_routing( |
|
24 | { :method => 'get', :path => "/projects/33/roadmap" }, | |
|
25 | { :controller => 'versions', :action => 'index', :project_id => '33' } | |
|
26 | ) | |
|
27 | assert_routing( | |
|
24 | 28 | { :method => 'get', :path => "/projects/foo/versions.xml" }, |
|
25 | 29 | { :controller => 'versions', :action => 'index', |
|
26 | 30 | :project_id => 'foo', :format => 'xml' } |
@@ -339,10 +339,6 class RoutingTest < ActionController::IntegrationTest | |||
|
339 | 339 | :tab => 'members' } |
|
340 | 340 | ) |
|
341 | 341 | assert_routing( |
|
342 | { :method => 'get', :path => "/projects/33/roadmap" }, | |
|
343 | { :controller => 'versions', :action => 'index', :project_id => '33' } | |
|
344 | ) | |
|
345 | assert_routing( | |
|
346 | 342 | { :method => 'post', :path => "/projects" }, |
|
347 | 343 | { :controller => 'projects', :action => 'create' } |
|
348 | 344 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now