Sha256: adc0d8bc7ad9b19738519248be1d0614097fdf20f9668830ef729b25a9d62421
Contents?: true
Size: 785 Bytes
Versions: 2
Compression:
Stored size: 785 Bytes
Contents
# frozen_string_literal: true $:.unshift File.expand_path(__dir__) $:.unshift File.expand_path('../lib', __dir__) ENV['RACK_ENV'] ||= 'test' require 'simplecov' SimpleCov.start require 'pry' require 'awesome_print' require 'rspec' require 'rack/test' require 'omniauth-polaris' OmniAuth.config.request_validation_phase = nil RSpec.configure do |config| config.include Rack::Test::Methods config.extend OmniAuth::Test::StrategyMacros, type: :strategy config.mock_with :rspec do |mocks| # Prevents you from mocking or stubbing a method that does not exist on # a real object. This is generally recommended, and will default to # `true` in RSpec 4. mocks.verify_partial_doubles = true end config.expect_with :rspec do |c| c.syntax = :expect end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omniauth-polaris-1.1.1 | spec/spec_helper.rb |
omniauth-polaris-1.1.0 | spec/spec_helper.rb |