summaryrefslogtreecommitdiffstats
path: root/test/integration/routing_test.rb
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-13 17:13:50 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-13 17:13:50 +0000
commite8468b51cc7c0725e1f59d4f2f2c828ffcd080ce (patch)
tree8b8e18f7decbf5952ecdc5b213f43be1df753983 /test/integration/routing_test.rb
parent718816c5d4b0c45ce1def155c9f517fb5ac91e35 (diff)
downloadredmine-e8468b51cc7c0725e1f59d4f2f2c828ffcd080ce.tar.gz
redmine-e8468b51cc7c0725e1f59d4f2f2c828ffcd080ce.zip
Refactor: extract method in WikiController#special to create a new #export method
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4251 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing_test.rb')
-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 25755dc36..e20d8ad19 100644
--- a/test/integration/routing_test.rb
+++ b/test/integration/routing_test.rb
@@ -321,7 +321,7 @@ class RoutingTest < ActionController::IntegrationTest
should_route :get, "/projects/567/wiki/page_index", :controller => 'wiki', :action => 'special', :id => '567', :page => 'page_index'
should_route :get, "/projects/567/wiki/Page_Index", :controller => 'wiki', :action => 'special', :id => '567', :page => 'Page_Index'
should_route :get, "/projects/567/wiki/date_index", :controller => 'wiki', :action => 'special', :id => '567', :page => 'date_index'
- should_route :get, "/projects/567/wiki/export", :controller => 'wiki', :action => 'special', :id => '567', :page => 'export'
+ should_route :get, "/projects/567/wiki/export", :controller => 'wiki', :action => 'export', :id => '567'
should_route :post, "/projects/567/wiki/my_page/edit", :controller => 'wiki', :action => 'edit', :id => '567', :page => 'my_page'
should_route :post, "/projects/567/wiki/CookBook_documentation/preview", :controller => 'wiki', :action => 'preview', :id => '567', :page => 'CookBook_documentation'