HomePhorge

Make PuppetSpec::Files methods available at module level.
17a530256d94Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Make PuppetSpec::Files methods available at module level.

Previously you could only access the tmpfile and tmpdir helpers by mixing
the module in somewhere, despite them exclusively mutating global state.

This became inconvenient when trying to centralize the database setup, so I
moved them to module functions and made the helpers that mix in defer to the
module level methods.

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

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU3857e2b3ac62: Fix stubbing of ActiveRecord that doesn't work in AR 3.2.*
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU17a530256d94: Make PuppetSpec::Files methods available at module level. (authored by Daniel Pittman <daniel@puppetlabs.com>).Feb 15 2012, 12:26 AM