X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/40b452ac7431387979fa2c2cdd2565bae5993f29..984c6dc1142bbfaf11b1a2749d23f7edf7d1a83b:/test/functional/site_controller_test.rb diff --git a/test/functional/site_controller_test.rb b/test/functional/site_controller_test.rb index 8885fae28..00a184ba8 100644 --- a/test/functional/site_controller_test.rb +++ b/test/functional/site_controller_test.rb @@ -59,7 +59,7 @@ class SiteControllerTest < ActionController::TestCase { :controller => "site", :action => "permalink", :code => "shortcode" } ) assert_routing( - { :path => "/preview/formatname", :method => :get }, + { :path => "/preview/formatname", :method => :post }, { :controller => "site", :action => "preview", :format => "formatname" } ) assert_routing(