lib/rspec/mocks/methods.rb in rspec-mocks-2.10.1 vs lib/rspec/mocks/methods.rb in rspec-mocks-2.11.0
- old
+ new
@@ -133,9 +133,13 @@
Serialization.fix_for(self)
mp
end
end
+
+ def __remove_mock_proxy
+ @mock_proxy = nil
+ end
def format_chain(*chain, &blk)
if Hash === chain.last
hash = chain.pop
hash.each do |k,v|