summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-07 15:00:27 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-07 15:00:27 +0000
commit2295b61cb6fde4187875478170da2ae70f114497 (patch)
tree0723ec5425093f75e615ec89bf560bddc6106826 /test/integration
parent06878e50041117baa1b4bde40671ab422dd9bc0a (diff)
downloadredmine-2295b61cb6fde4187875478170da2ae70f114497.tar.gz
redmine-2295b61cb6fde4187875478170da2ae70f114497.zip
Refactor: rename method ProjectsController#add to ProjectsController#new
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4069 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-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 e75cf4721..f43dc8a61 100644
--- a/test/integration/routing_test.rb
+++ b/test/integration/routing_test.rb
@@ -166,7 +166,7 @@ class RoutingTest < ActionController::IntegrationTest
should_route :get, "/projects", :controller => 'projects', :action => 'index'
should_route :get, "/projects.atom", :controller => 'projects', :action => 'index', :format => 'atom'
should_route :get, "/projects.xml", :controller => 'projects', :action => 'index', :format => 'xml'
- should_route :get, "/projects/new", :controller => 'projects', :action => 'add'
+ should_route :get, "/projects/new", :controller => 'projects', :action => 'new'
should_route :get, "/projects/test", :controller => 'projects', :action => 'show', :id => 'test'
should_route :get, "/projects/1.xml", :controller => 'projects', :action => 'show', :id => '1', :format => 'xml'
should_route :get, "/projects/4223/settings", :controller => 'projects', :action => 'settings', :id => '4223'