Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e584aaab04
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.591 kB
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'bundler/setup'
require 'mocha_standalone'
require 'rack/test'
require 'webmock/rspec'
require 'omniauth-tent'
Dir["#{File.dirname(__FILE__)}/support/*.rb"].each { |f| require f }
RSpec.configure do |config|
config.include WebMock::API
config.include Rack::Test::Methods
config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
config.mock_with :mocha
end
OmniAuth.config.logger = Logger.new(File.join(File.dirname(__FILE__), '..', 'log', 'test.log'))
Jump to Line
Something went wrong with that request. Please try again.