HomePhorge

Reset saved indirection state to an empty hash instead of nil after restoring
015610143a6aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Reset saved indirection state to an empty hash instead of nil after restoring

rspec can call the global before and after hooks in a nested fashion
around each test which will cause problems for the after hook if
$saved_indirection_State is nil (can't call fetch on nil).

Details

Provenance
Jacob Helwig <jacob@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU19b71ba88c7d: Realign test/lib/puppettest.rb after the Great Indentation Change
Branches
Unknown
Tags
Unknown

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPU015610143a6a: Reset saved indirection state to an empty hash instead of nil after restoring (authored by Jacob Helwig <jacob@puppetlabs.com>).Oct 20 2011, 12:32 AM