Sha256: 5f95d6b500387a8fef01dcbbe904ad20bf83abe6e36d85287e895cb657d63f7b

Contents?: true

Size: 725 Bytes

Versions: 1

Compression:

Stored size: 725 Bytes

Contents

# frozen_string_literal: true

$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
require 'bundler/setup'
require 'webmock/rspec'
require 'simplecov'
require 'active_support'
require 'active_support/core_ext/hash'

# Configure SimpleCov before requiring our library
SimpleCov.start do
  add_filter '/spec/'
  add_filter '/vendor/'
  track_files 'lib/**/*.rb'
  enable_coverage :branch
end

require 'omniauth'
require 'omniauth-oauth2'
require 'omniauth-mlh'
require 'omniauth/strategies/mlh'

Dir[File.expand_path('support/**/*.rb', __dir__)].sort.each { |f| require f }

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

WebMock.disable_net_connect!(allow_localhost: true)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-mlh-4.1.0 spec/spec_helper.rb