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.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)