HomePhorge

Update launchd test for 1.9.3
f43244723bb6Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Update launchd test for 1.9.3

Previously, the spec tests for the launchd service provider would
fail on Ruby 1.9.3 because the mocked objects for the launchd_paths
and return_globbed_list_of_file_paths methods would return strings
and not arrays (and in Ruby 1.8.7, you could call .each on a string
and have it return the string object). This commit fixes that by
returning an Array and not a String.

Details

Provenance
Gary Larizza <gary@puppetlabs.com>Authored on
Jeff McCune <jeff@puppetlabs.com>Committed on Dec 5 2012, 8:44 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU2a7697d18d22: Merge branch 'glarizza-bug/3.0.x/17624_launchd_fails' into 3.0.x
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff McCune <jeff@puppetlabs.com> committed rPUf43244723bb6: Update launchd test for 1.9.3 (authored by Gary Larizza <gary@puppetlabs.com>).Dec 5 2012, 8:44 PM