We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32287a0 commit f8bdf9aCopy full SHA for f8bdf9a
spec/integration/type/file_spec.rb
@@ -636,6 +636,15 @@ def get_aces_for_path_by_sid(path, sid)
636
catalog.apply
637
end
638
639
+ it "should not give a deprecation warning when checksum are disabled in content" do
640
+ Puppet[:use_checksum_in_file_content] = false
641
+ expect(Puppet).not_to receive(:puppet_deprecation_warning)
642
+ file = described_class.new(:path => path, :content => '{ABCD}X')
643
+ catalog.add_resource file
644
+ catalog.apply
645
+ expect(File.read(file[:path])).to eq('{ABCD}X')
646
+ end
647
+
648
with_digest_algorithms do
649
it_should_behave_like "files are backed up", {} do
650
let(:filebucket_digest) { method(:digest) }
0 commit comments