]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/site_controller_test.rb
Fix various routing and route generation errors
[rails.git] / test / functional / site_controller_test.rb
index 753e1c859b0536b56d905547819804858b0c9ac7..caef3481b66bc0c177865aaa3d29b4ed8ed24d3e 100644 (file)
@@ -43,7 +43,7 @@ class SiteControllerTest < ActionController::TestCase
       { :controller => "site", :action => "offline" }
     )
     assert_routing(
-      { :path => "/key", :method => :get },
+      { :path => "/key", :method => :post },
       { :controller => "site", :action => "key" }
     )
     assert_routing(