spec/support/vcr.rb in chgk_rating-1.0.0.rc1 vs spec/support/vcr.rb in chgk_rating-1.0.0
- old
+ new
@@ -1,10 +1,11 @@
-require 'vcr'
-
-VCR.configure do |c|
- c.ignore_hosts 'codeclimate.com'
- c.hook_into :faraday
- c.cassette_library_dir = File.join(File.dirname(__FILE__), '..', 'fixtures', 'vcr_cassettes')
- c.before_record do |i|
- i.response.body.force_encoding("UTF-8")
- end
+require 'vcr'
+
+VCR.configure do |c|
+ c.allow_http_connections_when_no_cassette = true
+ c.ignore_hosts 'codeclimate.com'
+ c.hook_into :faraday
+ c.cassette_library_dir = File.join(File.dirname(__FILE__), '..', 'fixtures', 'vcr_cassettes')
+ c.before_record do |i|
+ i.response.body.force_encoding("UTF-8")
+ end
end
\ No newline at end of file