lib/rspec/mocks/method_double.rb in rspec-mocks-2.0.0.beta.6 vs lib/rspec/mocks/method_double.rb in rspec-mocks-2.0.0.beta.7

- old
+ new

@@ -55,11 +55,13 @@ end def configure_method $rspec_mocks.add(@object) if $rspec_mocks warn_if_nil_class - stash_original_method - define_proxy_method + unless @stashed + stash_original_method + define_proxy_method + end end def stash_original_method if object_responds_to?(@method_name) stashed = stashed_method_name