summaryrefslogtreecommitdiffstats
path: root/test/integration/routing_test.rb
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-03 15:04:03 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-03 15:04:03 +0000
commitc1068bf0cd32df1edf9b1b69e76e30af84692b7c (patch)
tree5348f3f6cbbb0023581b7d2e202b4cdaa00eac6c /test/integration/routing_test.rb
parent83b4343d2d403a21de4614016e165091e4c5914f (diff)
downloadredmine-c1068bf0cd32df1edf9b1b69e76e30af84692b7c.tar.gz
redmine-c1068bf0cd32df1edf9b1b69e76e30af84692b7c.zip
Refactor: move method, ProjectsController#reset_activities to ProjectEnumerationsController#destroy.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4054 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing_test.rb')
-rw-r--r--test/integration/routing_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb
index 74a0f7a71..71be6c3c7 100644
--- a/test/integration/routing_test.rb
+++ b/test/integration/routing_test.rb
@@ -190,7 +190,7 @@ class RoutingTest < ActionController::IntegrationTest
should_route :put, "/projects/1.xml", :controller => 'projects', :action => 'edit', :id => '1', :format => 'xml'
should_route :delete, "/projects/1.xml", :controller => 'projects', :action => 'destroy', :id => '1', :format => 'xml'
- should_route :delete, "/projects/64/reset_activities", :controller => 'projects', :action => 'reset_activities', :id => '64'
+ should_route :delete, "/projects/64/reset_activities", :controller => 'project_enumerations', :action => 'destroy', :id => '64'
end
context "repositories" do