Created
September 13, 2012 19:48
-
-
Save SethThomas/3717095 to your computer and use it in GitHub Desktop.
VCR config
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment