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