<commit_before>
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start

require 'simplecov'
require 'webmock/rspec'
require 'vcr'

SimpleCov.minimum_coverage 100
SimpleCov.start 'rails'

VCR.configure do |c|
  c.cassette_library_dir = 'spec/vcr_cassettes'
  c.hook_into :webmock
  c.ignore_localhost = true
end<commit_msg>spec: fixed VCR so the code climate gem can work properly<commit_after>
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start

require 'simplecov'
require 'webmock/rspec'
require 'vcr'

SimpleCov.minimum_coverage 100
SimpleCov.start 'rails'

VCR.configure do |c|
  c.cassette_library_dir = 'spec/vcr_cassettes'
  c.hook_into :webmock
  c.ignore_localhost = true

  # So code coverage reports can be submitted to codeclimate.com
  c.ignore_hosts 'codeclimate.com'
end
{'fraction_non_alphanumeric': 0.08957055214723926, 'fraction_numerical': 0.007361963190184049, 'mean_word_length': 5.743801652892562, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3667221', 'n_tokens_mistral': 305, 'n_tokens_neox': 296, 'n_words': 68}