HomePhorge

(maint) Fix yet another face spec issue.
0e284c9382beUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Fix yet another face spec issue.

Commit 275ac959db060f80e4b8635e1213cc0c2255c732 prevented specs
that did 'describe Puppet::Face[...]' from working correctly.
That is because the instance returned for the describe call
would then differ if face_collection_spec is run before the
spec in question.

The fix is rather than clearing all face state, save and restore
the global state before and after all examples.

Also correcting a mistake in indirection_base_spec where a ivar
wasn't being used between the before and after clauses.

Details

Provenance
Peter Huene <peter.huene@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU7781842e2c56: Merge pull request #2378 from reidmv/fix_moduletool_tar_non_gnu
Branches
Unknown
Tags
Unknown

Event Timeline

Peter Huene <peter.huene@puppetlabs.com> committed rPU0e284c9382be: (maint) Fix yet another face spec issue. (authored by Peter Huene <peter.huene@puppetlabs.com>).Mar 13 2014, 3:06 AM