rails/activeresource — pull request #119 by dlozano (2014-02-14 22:40:32+00:00)
Title: Added real Net::HTTP option for integration tests

Sometimes in integration tests you might want to do end-to-end tests and hit a external site.
http_mock.rb file requirement stubs all ActiveResource::Connections and at the same time all ActiveResource::Base classes to use a mock. From that point one you can't undo it without hacks.

This is an approach similar to other testing gems like webmock.