HomePhorge

(maint) Remove FS redefined constant warnings in spec runs
38fa9e5d77aeUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Remove FS redefined constant warnings in spec runs

We define FS as an alias for Puppet::FileSystem in three separate
specs. Unfortunately, describe blocks do not provide any namespacing in
rspec, and this were colliding, issuing two separate warnings for a
redefined constant. Wrapping each spec in its own module provides
separation and elliminates the warnings.

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPU38fa9e5d77ae: (maint) Remove FS redefined constant warnings in spec runs (authored by Josh Partlow <joshua.partlow@puppetlabs.com>).Apr 25 2014, 7:48 PM