HomePhorge

(Maint) Remove duplication and mocking from tests
a0df02c005f3Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(Maint) Remove duplication and mocking from tests

The tests used to have a large amount of duplication around setting
configuration values for Hiera, this extracts them into a common spot
and also removes some of the mocking that was being done in order to
make the tests a little more straightforward and less tied to the
implementation.

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU453249f5db6c: (Maint) Require Hiera::Backend where it is used
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPUa0df02c005f3: (Maint) Remove duplication and mocking from tests (authored by Andrew Parker <andy@puppetlabs.com>).Nov 16 2012, 2:52 AM