tokyorails/tokyorails — Issue #13: VCR usage
Author: rurounijones
Created: 2011-12-03 16:04:01+00:00
State: open

From what I can see at the moment we are not 100% mocking out calls to the meetup API. This is because we have added the vcr_cassettes directory to .gitignore.

I am pretty sure this is not how it should be done. VCR responses should be saved for all future test runs so that we have deterministic responses to our mocked calls, at the moment the first call is not mocked in a new dev environment for example.

With the current setup all the event specs in my environment were failing because they were expecting at least one upcoming event (Which was the case for the developer when the tests were written) but we currently have no upcoming events.

I think we need to get rid of the .gitignore entry and commit the vcr_cassettes along with everything else.