Assaf Arkin
Assaf Arkin
Good idea. Keep in mind you'll need a different require if you don't want it to replace HTTP.request
That's because there's no support for using proxies.
If you want to take a crack at it and send a PR.
That's because node-replay is optimized for dealing with static use cases, if you need to deal with dynamic use cases, consider nock, and you can use both in the same...
Try a fixture where the header has not value, that should request without the header. Or if not, might be a good idea to add this feature.
What are the issues with the tests?
I don't see where Shoulda requires Mocha.
Is there a way to make this not dependent on ActiveSupport?
Moneta looks really interesting