@@ -105,15 +105,13 class RoutingIssuesTest < ActionController::IntegrationTest | |||
|
105 | 105 | end |
|
106 | 106 | |
|
107 | 107 | def test_issues_form_update |
|
108 | ["post", "put"].each do |method| | |
|
108 | 109 | assert_routing( |
|
109 |
{ :method => |
|
|
110 | { :controller => 'issues', :action => 'new', :project_id => '23' } | |
|
111 | ) | |
|
112 | assert_routing( | |
|
113 | { :method => 'put', :path => "/projects/23/issues/new" }, | |
|
110 | { :method => method, :path => "/projects/23/issues/new" }, | |
|
114 | 111 | { :controller => 'issues', :action => 'new', :project_id => '23' } |
|
115 | 112 | ) |
|
116 | 113 | end |
|
114 | end | |
|
117 | 115 | |
|
118 | 116 | def test_issues_extra_actions |
|
119 | 117 | assert_routing( |
General Comments 0
You need to be logged in to leave comments.
Login now