puppetlabs-stdlib/spec/functions
Jeff McCune 806430224a (maint) Fix failing spec test with Puppet 3.3.0-rc2
Without this patch the stdlib spec tests are failing against recent
versions of Puppet.  The root cause of this problem is a change in the
behavior of create_resources in Puppet 6baa57b.  The change in behavior
caused the :name key to be omitted from the hash returned by
Puppet::Parser::Resource#to_hash which in turn is causing the test
failure.

This patch addresses the problem by updating the test to match the
description of the example.  Only the attribute :ensure is checked
instead of the full hash itself.
2013-08-29 13:02:31 -07:00
..
defined_with_params_spec.rb re-formatting 2012-10-25 10:54:33 -07:00
ensure_packages_spec.rb (maint) Fix failing spec test with Puppet 3.3.0-rc2 2013-08-29 13:02:31 -07:00
ensure_resource_spec.rb Refactor ensure_resource expectations 2013-05-06 15:30:35 -04:00
getparam_spec.rb Add getparam function to get defined resource parameters 2013-01-09 17:51:12 -08:00