HomePhorge

(#10915) Fix tests to work with new parameter checking
9e26fe0c7c97Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#10915) Fix tests to work with new parameter checking

The change to how the property checks if the provider can be called
caused several tests to fail because they were not using providers that
were able to properly report respond_to?. This fixes those tests. In
the case of the host_spec.rb I was able to convert away from a mock, but
in the mount_spec.rb the mock had to mock respond_to? since the
interaction with the provider seems to be more complicated than I can
unravel.

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUda7cd8e304e1: Don't mask NoMethodErrors
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPU9e26fe0c7c97: (#10915) Fix tests to work with new parameter checking (authored by Andrew Parker <andy@puppetlabs.com>).Aug 8 2012, 2:26 AM