summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-13 20:35:03 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-13 20:35:03 +0000
commit41c055363ee4826799b9ffe7d76fd399c89190d3 (patch)
tree78321389f47072812eeb42dc6d5759f8c15addbb /test/integration
parent12e10f6956fcd276fc3da19beb0c7bf4ade5f0da (diff)
downloadredmine-41c055363ee4826799b9ffe7d76fd399c89190d3.tar.gz
redmine-41c055363ee4826799b9ffe7d76fd399c89190d3.zip
Refactor: split FilesController#new into #new and #create.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4084 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 ac75d4d7c..1867a60b0 100644
--- a/test/integration/routing_test.rb
+++ b/test/integration/routing_test.rb
@@ -179,7 +179,7 @@ class RoutingTest < ActionController::IntegrationTest
should_route :post, "/projects", :controller => 'projects', :action => 'create'
should_route :post, "/projects.xml", :controller => 'projects', :action => 'create', :format => 'xml'
- should_route :post, "/projects/33/files/new", :controller => 'files', :action => 'new', :id => '33'
+ should_route :post, "/projects/33/files/new", :controller => 'files', :action => 'create', :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'