diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2012-10-25 15:32:34 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2012-10-25 15:36:54 -0700 |
commit | 97f836f41b7f8b0aec6733c82873d32140c07304 (patch) | |
tree | 7e53b3864b4941d1791270c9d2d87abdc0f4ea7b /spec/lib/puppet_spec/matchers.rb | |
parent | 88af331b0e9b0e8c8a3c1e74e4c5598dc7b8e1c8 (diff) | |
download | puppet-stdlib-97f836f41b7f8b0aec6733c82873d32140c07304.tar.gz puppet-stdlib-97f836f41b7f8b0aec6733c82873d32140c07304.tar.bz2 |
(maint) Fix spec failures resulting from Facter API changes
Without this patch stdlib tests fail against Facter 2.x and master but
not 1.6.x.
This patch fixes the problem by initializing the example group
differently depending on the version of Facter integrating into the
system. The adjusted methods are:
1.x - Facter.collection.loader.load
2.x - Facter.collection.load
The collection actually implements the load method in both version, it's
simply marked as private in 1.x.
Diffstat (limited to 'spec/lib/puppet_spec/matchers.rb')
0 files changed, 0 insertions, 0 deletions