HomePhorge

(maint) Make PuppetSpec::Language emit more helpful stack traces
514d1d622aa9Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Make PuppetSpec::Language emit more helpful stack traces

This change was required to be able to see anything relevant regarding
where a problem originated. The fix is to patch the stacktrace
for failed expectencies. While not ideal there is very little that can
be done with Rspec 2 to fix this except reimplementing the support for
produces and fails to be matchers. (Rspec 3 has composable matchers that
may make this simpler).

A ticket has been logged about further improvements to the two support
functions (produces, and fails).

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb14fd40b7d19: (PUP-3117) Add tests for combination of default / hash
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU514d1d622aa9: (maint) Make PuppetSpec::Language emit more helpful stack traces (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Aug 27 2014, 11:15 PM