Closed yigor closed 6 years ago
I noticed that record mode new_episodes doesn't work as it used to and as I expect it to work. It records new interaction even if absolutely identical one already exists in the current cassette.
Yes. This was implemented to conform to the behaviour of VCR. This tool hasn't yet had a stable (1.0) release yet so there may be some other minor incompatibilities in the future.
Looks like this wasn't the intended behavior after all. It was changed in PR https://github.com/betamaxpy/betamax/pull/154, however there hasn't been a new betamax release since then.
I noticed that record mode
new_episodes
doesn't work as it used to and as I expect it to work. It records new interaction even if absolutely identical one already exists in the current cassette. Please take a look at following code:This test passes with version 0.5.1 but fails with all the newer ones. I think because of this line matching interaction is never found and new one gets recorded.