HomePhorge

Property Spec cleanup: extract new subclass to let method.
25d7c99fd929Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Property Spec cleanup: extract new subclass to let method.

We need a shiny, new subclass of Puppet::Property every test, because we
modify class level things - and so we would pollute the tests if we touched
the same class object.

This extracts the logic around that to a let method, making the lifecycle
easier to follow by eliminating a member variable.

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
rPU363865115549: (#2927) Acceptance test for symbolic file modes.
Branches
Unknown
Tags
Unknown

Event Timeline

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