Trying to get selenium working in rails 3 – “WebMock::NetConnectNotAllowedError”
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.