- { :path => "/message/delete/1", :method => :post },
- { :controller => "messages", :action => "delete", :message_id => "1" }
+ { :path => "/messages/1/reply", :method => :post },
+ { :controller => "messages", :action => "reply", :message_id => "1" }
+ )
+ assert_routing(
+ { :path => "/messages/1", :method => :delete },
+ { :controller => "messages", :action => "destroy", :id => "1" }