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