Sha256: 7ca05ee45b0156130690fe72946c7e16785b780cdee1f198c58490221369b47c

Contents?: true

Size: 827 Bytes

Versions: 6

Compression:

Stored size: 827 Bytes

Contents

$LOAD_PATH.unshift File.expand_path(__dir__)
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)

if RUBY_VERSION >= '1.9'
  require 'simplecov'
  require 'simplecov-lcov'
  require 'coveralls'

  SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true

  SimpleCov.formatters = [
    SimpleCov::Formatter::HTMLFormatter,
    SimpleCov::Formatter::LcovFormatter,
    Coveralls::SimpleCov::Formatter
  ]

  SimpleCov.start do
    minimum_coverage(78.48)
  end
end

require 'rspec'
require 'rack/test'
require 'webmock/rspec'
require 'omniauth'
require 'omniauth-google-id-token'

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
  config.extend OmniAuth::Test::StrategyMacros, type: :strategy
  config.include Rack::Test::Methods
  config.include WebMock::API
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
omniauth-google-id-token-1.1.4 spec/spec_helper.rb
omniauth-google-id-token-1.1.3 spec/spec_helper.rb
omniauth-google-id-token-1.1.1 spec/spec_helper.rb
omniauth-google-id-token-1.1.0 spec/spec_helper.rb
omniauth-google-id-token-1.0.1 spec/spec_helper.rb
omniauth-google-id-token-1.0.0 spec/spec_helper.rb