Skip to content

Instantly share code, notes, and snippets.

@SethThomas
SethThomas / vcr.rb
Created September 13, 2012 19:48
VCR config
VCR.configure do |c|
c.cassette_library_dir = Rails.root.join("spec", "vcr")
c.hook_into :fake web
# do not alow the API key to be stored in the cassette
c.filter_sensitive_data('API KEY HERE') {config['api_key']}
# I think the following config should do what you want
c.allow_http_connections_when_no_cassette = true
end