myronmarston/vcr — Issue #105: vcr 2.0.0.beta2 doesn't replay
Author: restebanez
Created: 2011-11-21 16:05:17+00:00
State: open

Hi there,

VCR fails to replay after successfully creating the cassette. I'm using VCR, rspec and i mocking excon. vcr 2.0.0 beta1 works fine.
You can reproduce it clonning https://github.com/jbz/agidb/commit/a99d30c6ee784f793082b833004b61be45e02fcf test that everything works running bundle install and then rspec spec/service_spec.rb.
Then just modify the Gemfile setting vcr to 2.0.0beta2, bundle update, and delete spec/cassettes/getinstances.yaml. The first time will work fine and will generate a new cassete, the second time it wont replay, it'll fail with this message:

Failures:

1) service GET on /instances using vcr should return a user by name
Failure/Error: get '/instances'
Excon::Errors::SocketError:
Real HTTP connections are disabled. Request: POST https://rds.us-east-1.amazonaws.com:443/. You can use VCR to automatically record this request and replay it later. For more details, visit the VCR documentation at: http://relishapp.com/myronmarston/vcr/v/2-0-0-beta2

Thanks,

Rodrigo Estebanez