X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3b34f700f1af3cee87a591c5cecd897b5529dec0..038c341918db3c29f9f8ce9369505e8b4d81d471:/test/functional/oauth_controller_test.rb?ds=sidebyside diff --git a/test/functional/oauth_controller_test.rb b/test/functional/oauth_controller_test.rb index 42f3c3c99..85358892e 100644 --- a/test/functional/oauth_controller_test.rb +++ b/test/functional/oauth_controller_test.rb @@ -28,10 +28,18 @@ class OauthControllerTest < ActionController::TestCase { :path => "/oauth/request_token", :method => :get }, { :controller => "oauth", :action => "request_token" } ) + assert_routing( + { :path => "/oauth/request_token", :method => :post }, + { :controller => "oauth", :action => "request_token" } + ) assert_routing( { :path => "/oauth/access_token", :method => :get }, { :controller => "oauth", :action => "access_token" } ) + assert_routing( + { :path => "/oauth/access_token", :method => :post }, + { :controller => "oauth", :action => "access_token" } + ) assert_routing( { :path => "/oauth/test_request", :method => :get }, { :controller => "oauth", :action => "test_request" }