Sha256: 948ad0c1684b4670987834fdb762d75a58b0d39ec342e3b3d48828fae8c32e49
Contents?: true
Size: 502 Bytes
Versions: 11
Compression:
Stored size: 502 Bytes
Contents
# frozen_string_literal: true require 'bundler/setup' require 'google_distance_matrix' require 'webmock/rspec' require 'shoulda-matchers' WebMock.disable_net_connect! I18n.enforce_available_locales = false module RecordedRequestHelpers def recorded_request_for(name) File.new path_to(name) end private def path_to(name) File.join File.dirname(__FILE__), 'request_recordings', name.to_s end end RSpec.configure do |c| c.include RecordedRequestHelpers, :request_recordings end
Version data entries
11 entries across 11 versions & 1 rubygems