test/test_helper.rb in nephophobia-0.1.2 vs test/test_helper.rb in nephophobia-0.2.0
- old
+ new
@@ -8,9 +8,10 @@
require "vcr"
class MiniTest::Unit::TestCase
def cassette_for cassette, interaction = 0
c = VCR::Cassette.new(cassette).send :recorded_interactions
+ VCR.eject_cassette
Nokogiri::XML::Document.parse c[interaction].response.body
end
end