diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index dfc821bf9..2897d5ac3 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -254,8 +254,11 @@ class RoutingTest < ActionController::IntegrationTest should_route :get, "/projects/567/issues/report/assigned_to", :controller => 'reports', :action => 'issue_report_details', :id => '567', :detail => 'assigned_to' end - context "members" do - should_route :post, "/projects/5234/members/new", :controller => 'members', :action => 'new', :id => '5234' + def test_members + assert_routing( + { :method => 'post', :path => "/projects/5234/members/new" }, + { :controller => 'members', :action => 'new', :id => '5234' } + ) end context "messages" do