Sha256: 5880803a1229dacbff13dac9dd1a0ced1168e28d2fa9cc16f3f4e9b83986738b
Contents?: true
Size: 460 Bytes
Versions: 15
Compression:
Stored size: 460 Bytes
Contents
require 'rubygems' require 'test/unit' require 'vcr' VCR.config do |c| c.cassette_library_dir = 'fixtures/vcr_cassettes' c.stub_with :fakeweb # c.default_cassette_options = { :record => :none } end class VCRTest < Test::Unit::TestCase def test_example_dot_com VCR.use_cassette('synopsis') do response = Net::HTTP.get_response(URI('http://www.iana.org/domains/example/')) assert_match /Example Domains/, response.body end end end
Version data entries
15 entries across 15 versions & 1 rubygems