Sha256: e81bfb9a456529043465786af2a7040f5a25ac0ec892d7be118b5d998e09524c

Contents?: true

Size: 769 Bytes

Versions: 3

Compression:

Stored size: 769 Bytes

Contents

# frozen_string_literal: true

ruby_version = Gem::Version.new(RUBY_VERSION)
require 'simplecov' if ruby_version >= Gem::Version.new('2.7') && RUBY_ENGINE == 'ruby'

require 'rack/test'
require 'mongoid-rspec'
require 'sqlite3'
require 'sequel'
require 'anonymous_active_record'
require 'byebug' if RUBY_ENGINE == 'ruby'

# This gem
require 'omniauth/identity'

RSpec.configure do |config|
  config.include Rack::Test::Methods
  config.include Mongoid::Matchers, type: :model

  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = '.rspec_status'

  # Disable RSpec exposing methods globally on `Module` and `main`
  config.disable_monkey_patching!

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-identity-3.0.6 spec/spec_helper.rb
omniauth-identity-3.0.5 spec/spec_helper.rb
omniauth-identity-3.0.4 spec/spec_helper.rb