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.
Added real Net::HTTP option for integration tests