diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-10 09:20:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-10 09:20:23 +0000 |
commit | 7dc8cf93401e4f02d993c9aa58e0146b15a84bb9 (patch) | |
tree | 0463561a405ea9fecb3c2558b5f9b8d197d22722 /test | |
parent | 52a7fa6176c8248033b4734773e15dd8b60b2f20 (diff) | |
download | redmine-7dc8cf93401e4f02d993c9aa58e0146b15a84bb9.tar.gz redmine-7dc8cf93401e4f02d993c9aa58e0146b15a84bb9.zip |
Changed IssuesController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8151 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/routing_test.rb | 2 |
1 files changed, 0 insertions, 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 |