Sha256: 186314b3ccc7a2308619616769dd35fcea6bd5ca518da1c6a51a0320d42f0507

Contents?: true

Size: 712 Bytes

Versions: 6

Compression:

Stored size: 712 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(:example) do
    quiet_logger = Logger.new(IO::NULL)
    allow(Logger).to receive(:new).and_return(quiet_logger)
  end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
google_maps_geocoder-1.0.0 spec/spec_helper.rb
google_maps_geocoder-0.7.10 spec/spec_helper.rb
google_maps_geocoder-0.7.9 spec/spec_helper.rb
google_maps_geocoder-0.7.8 spec/spec_helper.rb
google_maps_geocoder-0.7.7 spec/spec_helper.rb
google_maps_geocoder-0.7.6 spec/spec_helper.rb