Sha256: c8b405bf958d696bdc0beb372c5148c532f6add6d28ada9aae837ebc9a2d1c3c

Contents?: true

Size: 692 Bytes

Versions: 1

Compression:

Stored size: 692 Bytes

Contents

# frozen_string_literal: true

require 'pry'
require 'simplecov'
require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  warn e.message
  warn 'Run `bundle install` to install missing gems'
  exit e.status_code
end
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'google_maps_geocoder/google_maps_geocoder'
# silence output
RSpec.configure do |config|
  config.before do
    quiet_logger = Logger.new(IO::NULL)
    allow(Logger).to receive(:new).and_return(quiet_logger)
  end

  config.after do
    allow(Logger).to receive(:new).and_call_original
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
google_maps_geocoder-1.0.1 spec/spec_helper.rb