HomePhorge

Property Spec cleanup: extract mock resource to let method.
4fc4dd4eb99aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Property Spec cleanup: extract mock resource to let method.

This helps eliminate member variables in tests, making it easier to see where
state is or isn't shared between tests. This only tackles the top level stub
object, rather than the embedded versions that overwrote it in other tests.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
Matthaus Litteken <matthaus@puppetlabs.com>Committed on Feb 20 2012, 8:33 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU9083fc6b8eaa: Property Spec cleanup: extract mock provider to let method.
Branches
Unknown
Tags
Unknown

Event Timeline

Matthaus Litteken <matthaus@puppetlabs.com> committed rPU4fc4dd4eb99a: Property Spec cleanup: extract mock resource to let method. (authored by Daniel Pittman <daniel@puppetlabs.com>).Feb 20 2012, 8:33 PM