X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ae0177fbe61d7d02e3c6b441bd395fff6fd96a18..d359cd70f1527b372b71c2f927e3f45fb0fcf509:/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(