mhgbrown / cached_resource

Caching for ActiveResource
MIT License
80 stars 28 forks source link

Disable cached_resource in tests #17

Open plotti opened 10 years ago

plotti commented 10 years ago

I am doing my tests with VCR i am wondering if i should/could disable cached resource in tests so i can continue to use VCR. It does not make sense to use both. Any ideas?

mhgbrown commented 10 years ago

Can you remind me what VCR is?

plotti commented 10 years ago

https://github.com/vcr/vcr

mhgbrown commented 10 years ago

Sorry, I'm not familiar with VCR enough to help you. Have your tried asking elsewhere?

mhgbrown commented 10 years ago

Sorry to get back again so late, but did you find a way to resolve this?

Daniel-ltw commented 8 years ago

MyActiveResource.cached_resource.off!

Would that be a temporary fix?