diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2013-08-29 12:54:14 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2013-08-29 13:02:31 -0700 |
commit | 806430224ad0da860be3761ab83f1e574b64fc60 (patch) | |
tree | 1e93c09ae8d1eda559a71b698b55750268fe7164 /spec/unit/puppet/type | |
parent | 10575587f42fcd84284e0ba85a6c656a37870aa8 (diff) |
(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.
Diffstat (limited to 'spec/unit/puppet/type')
0 files changed, 0 insertions, 0 deletions