Package list ruby-omniauth-twitter / f1c38c80-a7ca-45fc-98d5-2cf50421a7a1/main spec / spec_helper.rb
f1c38c80-a7ca-45fc-98d5-2cf50421a7a1/main

Tree @f1c38c80-a7ca-45fc-98d5-2cf50421a7a1/main (Download .tar.gz)

spec_helper.rb @f1c38c80-a7ca-45fc-98d5-2cf50421a7a1/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