diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-20 15:13:48 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-20 15:13:48 +0000 |
commit | 3bc29e29e091b56bcffeb07ffb9c37c328525f99 (patch) | |
tree | c10fba5f35f636f74683aac8ee0d2840b2a17308 /test/integration | |
parent | 1a4f5e87f2839fa2260deefd4d9a5c992ef860fe (diff) | |
download | redmine-3bc29e29e091b56bcffeb07ffb9c37c328525f99.tar.gz redmine-3bc29e29e091b56bcffeb07ffb9c37c328525f99.zip |
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
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/routing_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 794a7780e..1fc3f82d4 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -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 |