This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |