Prepending a module seems to make instance methods unstubbable
Created by: soulcutter
It would appear that the #owner
of a method does not always respond to method_defined?
, although InstanceMethodStasher
expects it to.
Here's a test case with ruby 2.0.0p247: https://gist.github.com/soulcutter/6092223