Created
September 12, 2011 19:21
-
-
Save mjc-gh/1212114 to your computer and use it in GitHub Desktop.
VCR and MiniTest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe "Something" do | |
before do | |
# __name__ defined in MiniTest::Unit::TestCase | |
VCR.insert_cassette(__name__) | |
end | |
after do | |
VCR.eject_cassette | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment