summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-08 16:01:51 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-08 16:01:51 +0000
commitbf7476af5b6b2ec70e20254c8f2fe346ca22c089 (patch)
tree1d86e0222087f5d7069320fe79ee674d27d49d3c /test/integration
parent2295b61cb6fde4187875478170da2ae70f114497 (diff)
downloadredmine-bf7476af5b6b2ec70e20254c8f2fe346ca22c089.tar.gz
redmine-bf7476af5b6b2ec70e20254c8f2fe346ca22c089.zip
Refactor: split method ProjectsController#edit to ProjectsController#update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4070 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb
index f43dc8a61..0db45ce02 100644
--- a/test/integration/routing_test.rb
+++ b/test/integration/routing_test.rb
@@ -180,14 +180,14 @@ class RoutingTest < ActionController::IntegrationTest
should_route :post, "/projects/new", :controller => 'projects', :action => 'create'
should_route :post, "/projects.xml", :controller => 'projects', :action => 'create', :format => 'xml'
- should_route :post, "/projects/4223/edit", :controller => 'projects', :action => 'edit', :id => '4223'
+ should_route :post, "/projects/4223/edit", :controller => 'projects', :action => 'update', :id => '4223'
should_route :post, "/projects/64/destroy", :controller => 'projects', :action => 'destroy', :id => '64'
should_route :post, "/projects/33/files/new", :controller => 'files', :action => 'new', :id => '33'
should_route :post, "/projects/64/archive", :controller => 'projects', :action => 'archive', :id => '64'
should_route :post, "/projects/64/unarchive", :controller => 'projects', :action => 'unarchive', :id => '64'
should_route :post, "/projects/64/activities/save", :controller => 'project_enumerations', :action => 'save', :id => '64'
- should_route :put, "/projects/1.xml", :controller => 'projects', :action => 'edit', :id => '1', :format => 'xml'
+ should_route :put, "/projects/1.xml", :controller => 'projects', :action => 'update', :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 => 'project_enumerations', :action => 'destroy', :id => '64'