@oinak Yeah, I do allow(SomeClass).to receive(:new).and_return(some_object), and then allow(some_object).to receive just to make it explicit.
At any rate, mocks are a tool in the toolbox for me, not a way of life. I also don't think DI _just_ for testing is good. It’s fine if dependencies need to be configuration, but if they don't, I don't see value in making them configurable when, at least in Ruby, you can mock them by replacing .new.