Sha256: 94fad5ad292f713bcf952a44221d6470f87d6816f8f5a3d8694aeffdb637a655

Contents?: true

Size: 752 Bytes

Versions: 4

Compression:

Stored size: 752 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 '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

4 entries across 4 versions & 1 rubygems

Version Path
omniauth-identity-3.0.3 spec/spec_helper.rb
omniauth-identity-3.0.2 spec/spec_helper.rb
omniauth-identity-3.0.1 spec/spec_helper.rb
omniauth-identity-3.0.0 spec/spec_helper.rb