module SPV::Helpers
Public Class Methods
eject_all_cassettes()
click to toggle source
Ejects all cassettes from Vcr.
It can be useful when you don’t define a waiter while describing cassettes which will be applied on an action (click, page loading actions or any other). If you don’t define a waiter this method should be used to avoid data mixing which can lead you to wrong behavior in your acceptance tests.
@return [void] @api public
# File lib/site_prism_vcr/vcr_helpers.rb, line 13 def self.eject_all_cassettes while VCR.eject_cassette end end