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

Version Path
statsmix-1.0.0 test/vcr_setup.rb
statsmix-0.3.0 test/vcr_setup.rb
statsmix-0.2.4 test/vcr_setup.rb
statsmix-0.2.3 test/vcr_setup.rb
statsmix-0.2.2 test/vcr_setup.rb
statsmix-0.2.1 test/vcr_setup.rb
statsmix-0.1.10 test/vcr_setup.rb
statsmix-0.1.9 test/vcr_setup.rb
statsmix-0.1.8 test/vcr_setup.rb
statsmix-0.1.7 test/vcr_setup.rb
statsmix-0.1.6 test/vcr_setup.rb
statsmix-0.1.5 test/vcr_setup.rb
statsmix-0.1.4 test/vcr_setup.rb
statsmix-0.1.3 test/vcr_setup.rb
statsmix-0.0.6 test/vcr_setup.rb