Prepend Module and stubbing (Ruby 2)
Created by: pex
When having a rather complex chained method including a prepended Module, stubbing in my case results in a stack level too deep
.
https://gist.github.com/pex/103e76939b881d9a1ee0
(using ruby-2.0.0p353 and rspec-mocks-2.14.6)