[rspec-users] Mocks and Refactoring - doing it wrong?
lists at ruby-forum.com
Thu Oct 30 02:22:52 EDT 2008
> Why don't we have a partial mock which will raise an error (or at
> least a warning) when stubbing an object who's class doesn't
> respond_to? the method given? I feel like this sort of simple
> dependency has been brought up 1000 times on the list before, but
> never been explicitly stated.
Hey cool! I doubt you'd want me poking around in your codebase, but if
there's somewhere you can point me to help, I'd love to take a look.
But I doubt I'd be of much help. :D Can't hurt to look though.
Thanks so much for your responses Scott!
Posted via http://www.ruby-forum.com/.
More information about the rspec-users