diff test/integration/routing_test.rb @ 128:07fa8a8b56a8

Update to Redmine trunk rev 4732
author Chris Cannam
date Wed, 19 Jan 2011 15:04:22 +0000
parents 8661b858af72
children cbce1fd3b1b7
line wrap: on
line diff
--- a/test/integration/routing_test.rb	Thu Jan 13 14:12:06 2011 +0000
+++ b/test/integration/routing_test.rb	Wed Jan 19 15:04:22 2011 +0000
@@ -302,6 +302,9 @@
 
     should_route :put, "/users/444", :controller => 'users', :action => 'update', :id => '444'
     should_route :put, "/users/444.xml", :controller => 'users', :action => 'update', :id => '444', :format => 'xml'
+
+    should_route :delete, "/users/44", :controller => 'users', :action => 'destroy', :id => '44'
+    should_route :delete, "/users/44.xml", :controller => 'users', :action => 'destroy', :id => '44', :format => 'xml'
   end
 
   # TODO: should they all be scoped under /projects/:project_id ?