summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2011-01-06 15:24:13 -0800
committerNick Lewis <nick@puppetlabs.com>2011-01-06 15:54:35 -0800
commit7ed5251f80b0e37caf6e255875860157f95ee935 (patch)
tree2b2da51df7a7875c3d3820c2bfa02d3e98ccdd8d /lib/puppet/util/rdoc/code_objects.rb
parentfb8509acbd947712cac094a49227d28a16a366aa (diff)
downloadpuppet-7ed5251f80b0e37caf6e255875860157f95ee935.tar.gz
puppet-7ed5251f80b0e37caf6e255875860157f95ee935.tar.xz
puppet-7ed5251f80b0e37caf6e255875860157f95ee935.zip
maint: Work-around for a Mocha bug
Mocha is leaving behind a copy of stubbed methods in the singleton class of the object on which the method is stubbed. So a later stub to any_instance of the class isn't seen by the original object. This change works around the problem by adding a follow-up "test" that removes the method from the singleton class. See: https://github.com/floehopper/mocha/issues#issue/20 Paired-With: Paul Berry
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions