Sha256: 69522024db781fc459bc8dec9fe39579c17725d7856f2829bfa42f4d252675b2
Contents?: true
Size: 491 Bytes
Versions: 4
Compression:
Stored size: 491 Bytes
Contents
#! /usr/bin/env ruby -S rspec 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
4 entries across 4 versions & 1 rubygems