From 7dc8cf93401e4f02d993c9aa58e0146b15a84bb9 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 10 Dec 2011 09:20:23 +0000 Subject: [PATCH] Changed IssuesController#destroy to DELETE only. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8151 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/routing_test.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 4b82a86e9..205f3b9c5 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -94,8 +94,6 @@ class RoutingTest < ActionController::IntegrationTest should_route :get, "/issues/64/edit", :controller => 'issues', :action => 'edit', :id => '64' should_route :put, "/issues/1.xml", :controller => 'issues', :action => 'update', :id => '1', :format => 'xml' - # TODO: Should use DELETE - should_route :post, "/issues/64/destroy", :controller => 'issues', :action => 'destroy', :id => '64' should_route :delete, "/issues/1.xml", :controller => 'issues', :action => 'destroy', :id => '1', :format => 'xml' # Extra actions