@@ -254,8 +254,11 class RoutingTest < ActionController::IntegrationTest | |||
|
254 | 254 | should_route :get, "/projects/567/issues/report/assigned_to", :controller => 'reports', :action => 'issue_report_details', :id => '567', :detail => 'assigned_to' |
|
255 | 255 | end |
|
256 | 256 | |
|
257 |
|
|
|
258 | should_route :post, "/projects/5234/members/new", :controller => 'members', :action => 'new', :id => '5234' | |
|
257 | def test_members | |
|
258 | assert_routing( | |
|
259 | { :method => 'post', :path => "/projects/5234/members/new" }, | |
|
260 | { :controller => 'members', :action => 'new', :id => '5234' } | |
|
261 | ) | |
|
259 | 262 | end |
|
260 | 263 | |
|
261 | 264 | context "messages" do |
General Comments 0
You need to be logged in to leave comments.
Login now