spec/spec_helper.rb in pupa-0.2.3 vs spec/spec_helper.rb in pupa-0.2.4
- old
+ new
@@ -5,9 +5,17 @@
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
add_filter 'spec'
end
+require 'vcr'
+VCR.configure do |c|
+ c.cassette_library_dir = 'spec/cassettes'
+ c.hook_into :faraday
+ c.allow_http_connections_when_no_cassette = true
+ c.configure_rspec_metadata!
+end
+
require 'multi_xml'
require 'nokogiri'
require 'redis-store'
require 'rspec'