Refactor: move #destroy_comment method to CommentsController#destroy
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4172 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -163,6 +163,8 @@ class RoutingTest < ActionController::IntegrationTest
|
||||
should_route :post, "/news/567/comments", :controller => 'comments', :action => 'create', :id => '567'
|
||||
|
||||
should_route :put, "/news/567/edit", :controller => 'news', :action => 'update', :id => '567'
|
||||
|
||||
should_route :delete, "/news/567/comments/15", :controller => 'comments', :action => 'destroy', :id => '567', :comment_id => '15'
|
||||
end
|
||||
|
||||
context "projects" do
|
||||
|
||||
Reference in New Issue
Block a user