Doing the following (and nothing else):
Gemfile:
group :test do
gem 'webmock'
end
test.rb:
require 'webmock/rspec'
include WebMock::API
WebMock.allow_net_connect!
Effectively turned off WebMock such that requests could be made,
however, it turned a 15 minute test suite into a 1 hour test suite,
and most tests failed due to server timeouts.
I'm definitely looking forward to WebMock 2.0 :)
As I do like the idea behind this!
On Mar 11, 12:34 pm, Bartosz Blimke <
bartosz.bli...@gmail.com> wrote:
> Whether it´s a good decision or not, changing this behaviour would not be
> backward compatible,
> so it can be changed in version 2.0, not earlier.
> For now, I suggest including webmock in test group, if you use bundler.
> You can always allow_net_connect in webmock.
>
> Bartosz
>
> 2011/3/10 nosretep <
playersp...@gmail.com>