Package list ruby-omniauth-twitter / a645aa0d-cd7e-4b56-b1f7-d4c21ab3001b/main spec / spec_helper.rb
a645aa0d-cd7e-4b56-b1f7-d4c21ab3001b/main

Tree @a645aa0d-cd7e-4b56-b1f7-d4c21ab3001b/main (Download .tar.gz)

spec_helper.rb @a645aa0d-cd7e-4b56-b1f7-d4c21ab3001b/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