Don't Mock What You Don't Own
I was refactoring specs of some Rails application when I decided to mock the `ImageUploader` class of CarierWave. I wanted to be able to check for cpecific image url. But was it a good idea?
Tags: testing, tdd, bestpractices