require 'vcr' require "webmock/rspec" ENV["DB_DATABASE"] = ENV["DB_DATABASE"] + '_test' WebMock.disable_net_connect!(allow_localhost: true) VCR.configure do |c| c.cassette_library_dir = "spec/vcr" c.hook_into :webmock c.ignore_localhost = true end