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
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user