File: spec_helper.rb

package info (click to toggle)
ruby-omniauth-openid 2.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 140 kB
  • sloc: ruby: 196; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 388 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$:.unshift File.dirname(__FILE__) + '/../lib'

require 'simplecov'
SimpleCov.start
require 'rspec'
require 'rack/test'
require 'webmock/rspec'
require 'omniauth-openid'

RSpec.configure do |config|
  config.include WebMock::API
  config.include Rack::Test::Methods
end

if OmniAuth.config.respond_to?(:request_validation_phase)
  OmniAuth.config.request_validation_phase = ->(env) {}
end