File: helper.rb

package info (click to toggle)
ruby-omniauth-oauth 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 152 kB
  • sloc: ruby: 210; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 553 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$LOAD_PATH.unshift File.expand_path("..", __FILE__)
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
#require "simplecov"
#SimpleCov.start do
#  minimum_coverage(89.79)
#end
require "rspec"
require "rack/test"
require "webmock/rspec"
require "omniauth"
require "omniauth-oauth"

OmniAuth.config.request_validation_phase = nil

RSpec.configure do |config|
  config.include WebMock::API
  config.include Rack::Test::Methods
  config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
end

OmniAuth.config.logger = Logger.new("/dev/null")