Sha256: e3eb9cd3088f9725fce4296abc7ed7c7e73ff062569125c55babf51d34e2bc7d
Contents?: true
Size: 482 Bytes
Versions: 53
Compression:
Stored size: 482 Bytes
Contents
#! /usr/bin/env ruby require 'spec_helper' require 'puppet_spec/compiler' describe Puppet::Node::Facts::Facter do include PuppetSpec::Compiler it "preserves case in fact values" do Facter.add(:downcase_test) do setcode do "AaBbCc" end end Facter.stubs(:clear) cat = compile_to_catalog('notify { $downcase_test: }', Puppet::Node.indirection.find('foo')) cat.resource("Notify[AaBbCc]").should be end end
Version data entries
53 entries across 53 versions & 2 rubygems