Open gmile opened 8 years ago
I'm having this issue as well. Got an entire other spec failing because a separate file did not eject.
One solution that seem to work is to add options: [clear_mock: true]
at the end of the import
For example
use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney
becomes
use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney, options: [clear_mock: true]
You have to add it everytime you use
ExVCR or some cassette keeps lying around
As I've said, I'm not sure this is the solution, it's just working for me ATM
Right now this happens:
use_cassette/2
macro,use_cassette/2
macro,This can be seen in this PR: https://github.com/robconery/stripity-stripe/pull/80 Here's a failing travis build: https://travis-ci.org/robconery/stripity-stripe/builds/153164601