1 2 3 4
require 'webmock' require 'webmock/rspec' WebMock.disable_net_connect!(allow_localhost: true)