165 threads
18 threads
1 email from 1 person
Is there any way to mock or stub a private method on an instance? When I try, I get the message "Exception: undefined method ''foo'' for #<MyClass:0xb721cbc8>. Thanks for the help, Haakon