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" },
9 { :controller => "oauth", :action => "revoke" }
12 { :path => "/oauth/authorize" },
13 { :controller => "oauth", :action => "authorize" }
16 { :path => "/oauth/token" },
17 { :controller => "oauth", :action => "token" }
20 { :path => "/oauth/request_token" },
21 { :controller => "oauth", :action => "request_token" }
24 { :path => "/oauth/access_token" },
25 { :controller => "oauth", :action => "access_token" }
28 { :path => "/oauth/test_request" },
29 { :controller => "oauth", :action => "test_request" }