parroty / exvcr

HTTP request/response recording library for elixir, inspired by VCR.
MIT License
722 stars 132 forks source link

clear_mock not working, at least not for hackney #113

Closed jeffdeville closed 7 years ago

jeffdeville commented 7 years ago

use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney, options: [clear_mock: true]

I've verified that I've used this line everywhere exvcr is used, and I've even added clear_mock: true on every use_cassette line as well. I'm still not getting the cassettes cleared. I think it may be because the clear should happen in your after blocks. I'll test and PR if that fixes it.

jeffdeville commented 7 years ago

Fixed in 0.8.11