I would like to fake a network timeout in my cucumber step definition like so:
Given(/^the network is timing out$/) do
stub_request(:any, 'www.example.com').to_raise(RestClient::GatewayTimeout)
end
It will give the error that stub_request does not exist.
So, my question is where to find the webmock object within VCS, so i can add a stub_request.
in env.rb: