Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 102f9d4d90
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.519 kb
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'rubygems'
require 'rack-rpx'
require 'rack/test'
require 'spec'
require 'spec/autorun'
require 'spec/interop/test'
# set test environment
# set :environment, :test
# set :run, false
# set :raise_errors, true
# set :logging, false
# I dont know
def mock_request_token options = {}
YAML.load data(:unauthorized_request_token).sub('AUTH_PATH', options[:authorize_path] || '/oauth/authorize')
end
Jump to Line
Something went wrong with that request. Please try again.