mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
Refactor: split NewsController#new into #new and #create methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4163 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -157,7 +157,7 @@ class RoutingTest < ActionController::IntegrationTest
|
||||
should_route :get, "/projects/567/news/new", :controller => 'news', :action => 'new', :project_id => '567'
|
||||
should_route :get, "/news/234", :controller => 'news', :action => 'show', :id => '234'
|
||||
|
||||
should_route :post, "/projects/567/news/new", :controller => 'news', :action => 'new', :project_id => '567'
|
||||
should_route :post, "/projects/567/news", :controller => 'news', :action => 'create', :project_id => '567'
|
||||
should_route :post, "/news/567/edit", :controller => 'news', :action => 'edit', :id => '567'
|
||||
should_route :post, "/news/567/destroy", :controller => 'news', :action => 'destroy', :id => '567'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user