1 require File.dirname(__FILE__) + '/../test_helper'
3 class OauthControllerTest < ActionController::TestCase
5 # test all routes which lead to this controller
8 { :path => "/oauth/revoke", :method => :post },
9 { :controller => "oauth", :action => "revoke" }
12 { :path => "/oauth/authorize", :method => :post },
13 { :controller => "oauth", :action => "authorize" }
16 { :path => "/oauth/token", :method => :get },
17 { :controller => "oauth", :action => "token" }
20 { :path => "/oauth/request_token", :method => :get },
21 { :controller => "oauth", :action => "request_token" }
24 { :path => "/oauth/access_token", :method => :get },
25 { :controller => "oauth", :action => "access_token" }
28 { :path => "/oauth/test_request", :method => :get },
29 { :controller => "oauth", :action => "test_request" }