summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-22 16:20:20 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-22 16:20:20 +0000
commitcac3b1e5381d0756ba9bb6bcb356a4b081f3407d (patch)
tree0db0a74406411e65697abe5150d56465dcc51818 /test/integration
parent2fbf7bbcf1af756c4d0de3c7de96194376d33f1d (diff)
downloadredmine-cac3b1e5381d0756ba9bb6bcb356a4b081f3407d.tar.gz
redmine-cac3b1e5381d0756ba9bb6bcb356a4b081f3407d.zip
Refactor: split WikiController#edit into #update
update will handle the saving and should be accessed via POST only. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4272 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 f44d3c94e..084330c1c 100644
--- a/test/integration/routing_test.rb
+++ b/test/integration/routing_test.rb
@@ -322,7 +322,7 @@ class RoutingTest < ActionController::IntegrationTest
should_route :get, "/projects/567/wiki/date_index", :controller => 'wiki', :action => 'date_index', :project_id => '567'
should_route :get, "/projects/567/wiki/export", :controller => 'wiki', :action => 'export', :project_id => '567'
- should_route :post, "/projects/567/wiki/my_page/edit", :controller => 'wiki', :action => 'edit', :project_id => '567', :page => 'my_page'
+ should_route :post, "/projects/567/wiki/my_page/edit", :controller => 'wiki', :action => 'update', :project_id => '567', :page => 'my_page'
should_route :post, "/projects/567/wiki/CookBook_documentation/preview", :controller => 'wiki', :action => 'preview', :project_id => '567', :page => 'CookBook_documentation'
should_route :post, "/projects/22/wiki/ladida/rename", :controller => 'wiki', :action => 'rename', :project_id => '22', :page => 'ladida'
should_route :post, "/projects/22/wiki/ladida/destroy", :controller => 'wiki', :action => 'destroy', :project_id => '22', :page => 'ladida'