Thanks for the comment.
You have a very good point. I've introduced a test that is tightly coupled to CarrierWave here, which made it kind of integration tests (which I didn't originally intend to do).
So here I've described that mocking would be even worse idea.
But I agree that the better solution would be to have a wrapper.
This article describes not so recent events, but I'll research the possibility of wrapping CarrierWave and ActiveRecord for my future projects.
I agree with Paweł.
From my experience, avoiding mocks on some tests turns them into integration tests and that's not always the goal when doing TDD.
I do like the idea of having wrappers, but that doesn't reduce the need for mocking completely when dealing with 3rd party libs.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.