codeclimate/ruby-test-reporter — pull request #4 by geoffharcourt (2013-09-11 13:35:02+00:00)
Title: Configure FakeWeb to allow submission of coverage results.

FakeWeb's ````allow_net_connect = false```` option is often used to prevent tests from contacting outside resources. Submitting code metrics to CodeClimate represents an special case where it would be useful to bypass this behavior and allow an external connection.

Without the code below, the test reporter generates a ````FakeWeb::NetConnectNotAllowedError```` exception.

I placed the code for this option in the same spot of ````test_reporter.rb```` as proposed by the author of https://github.com/codeclimate/ruby-test-reporter/pull/2 for consistency.