Codebase list ruby-omniauth-twitter / 7d406d0d-bae9-40fa-9515-b5be3cf9a13f/main spec / spec_helper.rb
7d406d0d-bae9-40fa-9515-b5be3cf9a13f/main

Tree @7d406d0d-bae9-40fa-9515-b5be3cf9a13f/main (Download .tar.gz)

spec_helper.rb @7d406d0d-bae9-40fa-9515-b5be3cf9a13f/mainraw · history · blame

$:.unshift File.expand_path('..', __FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)
require 'simplecov'
SimpleCov.start do
  minimum_coverage(94.59)
end
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