Sha256: 4947cd15531e7eef006fea80a1778549332063437235f64476f1dda15708a86a

Contents?: true

Size: 725 Bytes

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-mlh-4.0.1 spec/spec_helper.rb
omniauth-mlh-4.0.0 spec/spec_helper.rb
omniauth-mlh-2.0.0 spec/spec_helper.rb