Code Climate and VCR: VCR::Errors::UnhandledHTTPRequestError
leesharma opened this issue · comments
Lee Sharma commented
Code Climate encountered an exception: VCR::Errors::UnhandledHTTPRequestError
Hey! Looks like you are using VCR, which will prevent the codeclimate-test-reporter from reporting results to codeclimate.com.
Add the following to your spec or test helper to ensure codeclimate-test-reporter can post coverage results:
VCR.configure do |config|
# your existing configuration
config.ignore_hosts 'codeclimate.com'
end
If this doesn't work, please consult https://codeclimate.com/docs#test-coverage-troubleshooting