# frozen_string_literal: true $LOAD_PATH.unshift File.expand_path('../lib', __dir__) require 'simplecov' SimpleCov.start require 'bundler/setup' require 'rspec' require 'rack/test' require 'webmock/rspec' require 'omniauth' require 'omniauth_mlh' Dir[File.expand_path('support/**/*', __dir__)].sort.each { |f| require f } RSpec.configure do |config| config.include WebMock::API config.include Rack::Test::Methods config.extend OmniAuth::Test::StrategyMacros, type: :strategy OmniAuth.config.test_mode = true end