X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3ca642271aac133eb3f0b32e9c5d096e61479cbe..39a54f8c14d739c95495e0d2c0ca56826eddfe52:/test/functional/site_controller_test.rb?ds=sidebyside 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(