require 'simplecov' require 'simplecov-rcov' SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter SimpleCov.start $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $:.unshift(File.dirname(__FILE__)) require 'rack/test' require 'omniauth-exvo' require 'pry' Dir[File.expand_path('../support/**/*', __FILE__)].each { |f| require f } RSpec.configure do |config| config.mock_with :rspec config.include Rack::Test::Methods config.extend OmniAuth::Test::StrategyMacros, :type => :strategy config.before(:each) do OmniAuth.config.test_mode = true end end