HomePhorge

(maint) Require file type needed to manage autosign settings
0fe419f86103Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Require file type needed to manage autosign settings

Previously, if the autosign spec was run in isolation, it would fail
because the spec stubbed Puppet::FileSystem.exists? before the file
type was loaded, resulting in:

unexpected invocation: Puppet::FileSystem.exist?('.../lib/puppet/type/file.rb')

This adds the require to the spec to ensure the file type is loaded
before we stub FileSystem methods.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUcccc754fecc4: (maint) Move Dir.entries to private method for testing
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU0fe419f86103: (maint) Require file type needed to manage autosign settings (authored by Josh Cooper <josh@puppetlabs.com>).Jan 16 2015, 2:05 AM