Codebase list ruby-omniauth-twitter / f26be9f2-5bc8-4568-916b-dbc014b9fb83/main spec / spec_helper.rb
f26be9f2-5bc8-4568-916b-dbc014b9fb83/main

Tree @f26be9f2-5bc8-4568-916b-dbc014b9fb83/main (Download .tar.gz)

spec_helper.rb @f26be9f2-5bc8-4568-916b-dbc014b9fb83/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