Codebase list ruby-omniauth-twitter / debian/1.0.1-1 spec / spec_helper.rb
debian/1.0.1-1

Tree @debian/1.0.1-1 (Download .tar.gz)

spec_helper.rb @debian/1.0.1-1

1a3213f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
$:.unshift File.expand_path('..', __FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)
require 'simplecov'
SimpleCov.start
require 'rspec'
require 'rack/test'
require 'webmock/rspec'
require 'omniauth'
require 'omniauth-twitter'

RSpec.configure do |config|
  config.include WebMock::API
  config.include Rack::Test::Methods
  config.extend  OmniAuth::Test::StrategyMacros, :type => :strategy
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end