With this…
WebMock.disable_net_connect!(:allow_localhost => true)
you allow real web access to your localhost. It’s perfect when you need to use Selenium for you application and, at the same time, mock external resources.
With this…
WebMock.disable_net_connect!(:allow_localhost => true)
you allow real web access to your localhost. It’s perfect when you need to use Selenium for you application and, at the same time, mock external resources.