HomePhorge

(Maint) Spec test wasn't testing anything
125ececa4a19Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(Maint) Spec test wasn't testing anything

Previously the test was stubbing the wait_for_output method, and
then testing that they execute method called it. But because the
method was stubbed, it didn't actually test anything, other than
ensuring the execute method didn't raise an exception.

This commit changes the stubs to an expects.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU4c18d085e0b9: (#14964) Unlink Tempfiles consistently across different ruby versions
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU125ececa4a19: (Maint) Spec test wasn't testing anything (authored by Josh Cooper <josh@puppetlabs.com>).Jul 13 2012, 9:15 AM