2010-06-12 22:41:05 -04:00
|
|
|
require 'rubygems'
|
2010-07-03 18:07:05 -04:00
|
|
|
require 'bundler'
|
|
|
|
Bundler.setup
|
2010-06-12 22:41:05 -04:00
|
|
|
require 'spec'
|
|
|
|
require 'spec/autorun'
|
|
|
|
require 'webmock/rspec'
|
2010-07-03 18:07:05 -04:00
|
|
|
require 'rack/test'
|
|
|
|
require 'omniauth/core'
|
|
|
|
require 'omniauth/test'
|
2010-06-12 22:41:05 -04:00
|
|
|
require 'omniauth/openid'
|
2010-07-03 18:07:05 -04:00
|
|
|
|
|
|
|
Spec::Runner.configure do |config|
|
|
|
|
config.include WebMock
|
|
|
|
config.include Rack::Test::Methods
|
|
|
|
config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
|
|
|
|
end
|
2010-08-11 11:50:20 -04:00
|
|
|
|
|
|
|
WebMock.disable_net_connect!
|