Sha256: 673615ed788bde16030cf8cfb56b8cb723178d567087f290a0b852883d386d44
Contents?: true
Size: 315 Bytes
Versions: 6
Compression:
Stored size: 315 Bytes
Contents
module CassetteHelper def self.extended(base) base.around do |spec| VCR.insert_cassette(_cassette) if defined?(_cassette) && _cassette spec.run VCR.eject_cassette if defined?(_cassette) && _cassette end end def cassette(cassette_name) let(:_cassette){ cassette_name } end end
Version data entries
6 entries across 6 versions & 1 rubygems