The VCR
testing gem provides a macro called use_vcr_cassette
that has a handy convention to infer the cassette name based on the example name. Since the use_vcr_cassette
macro is deprecated in the latest versions of VCR in favor of rspec metadata (i.e. :vcr
), is there still any way to automatically pick up the cassette name without having to go specify it in every spec?
(BTW I'm using this with a Rails application.)