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:
parent
8ac56d13d7
commit
f0dd0acbf0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue