Simple stubbing of ruby methods