]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/oauth_controller_test.rb
Add tests for diary_entry#comments
[rails.git] / test / functional / oauth_controller_test.rb
index 42f3c3c9915fd141377d816206670bbebaae4345..85358892e9d73d24f39af394ddf703bac51c4663 100644 (file)
@@ -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" }