Closed Sovietaced closed 9 years ago
VCR calls it define_cassette_placeholder
as well IIRC. It's documented here.
@sigmavirus24 Thank You. Missed that.
No problem. I'm generally against aliasing things because the aliases become difficult to document. If you want to submit some patches to improve the docs, that's very welcome. I'm traveling and won't have time for a while.
@sigmavirus24 Will do!
Ruby VCR has a configuration option like so..
c.filter_sensitive_data('API_KEY') { ENV['API_KEY'] }
which will replace the 'API_KEY' string in cassettes for the actual environment variable before running tests and save the environment value as 'API_KEY' when saving the cassettes.
Does this library have a similar feature?