Closed donv closed 7 years ago
Hey @donv, the docs don't explain this well.
You need to add a second argument to Camcorder.intercept_constructor.
recorder = Camcorder::Recorder.new('recordings.json')
Alternatively, you can provide a default recorder with:
Camcorder.default_recorder = Camcorder::Recorder.new('recordings.json')
Either way, the issue is that the object is trying to find somewhere to read (or write) your recordings to/form.
Thanks for the explanation.
Given the code below:
I get the following exception:
Is there more setup needed?