test: replace "should_route" of "members" to "assert_routing" at integration/routing_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8217 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-12-15 02:56:22 +00:00
parent 8ac56d13d7
commit f0dd0acbf0
1 changed files with 5 additions and 2 deletions

View File

@ -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