]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/site_controller_test.rb
Allow GET as well as POST for oauth#request_token and oauth#access_token
[rails.git] / test / functional / site_controller_test.rb
index 8885fae28fb5de64c7acb078570f3963ea036431..00a184ba8b8fe11a13c21fcf3fb2f6f60e809e8c 100644 (file)
@@ -59,7 +59,7 @@ class SiteControllerTest < ActionController::TestCase
       { :controller => "site", :action => "permalink", :code => "shortcode" }
     )
     assert_routing(
       { :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(
       { :controller => "site", :action => "preview", :format => "formatname" }
     )
     assert_routing(