X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fsystemd%2Fspec%2Fdefines%2Ftmpfile_spec.rb;fp=3rdparty%2Fmodules%2Fsystemd%2Fspec%2Fdefines%2Ftmpfile_spec.rb;h=0000000000000000000000000000000000000000;hb=c7e7bcc28cc5dc48a7e284a3c82f33df27d1f57d;hp=56323d28d394542971a914ca51c4c9e5a265cd09;hpb=f89d8091bbf5a7bd8f86ee80abb03c729cea8d74;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/systemd/spec/defines/tmpfile_spec.rb b/3rdparty/modules/systemd/spec/defines/tmpfile_spec.rb deleted file mode 100644 index 56323d28d..000000000 --- a/3rdparty/modules/systemd/spec/defines/tmpfile_spec.rb +++ /dev/null @@ -1,24 +0,0 @@ -require 'spec_helper' - -describe 'systemd::tmpfile' do - context 'supported operating systems' do - on_supported_os.each do |os, facts| - context "on #{os}" do - let(:facts) { facts } - - let(:title) { 'random_tmpfile' } - - let(:params) {{ - :content => 'random stuff' - }} - - it { is_expected.to compile.with_all_deps } - it { is_expected.to create_file("/etc/tmpfiles.d/#{title}").with( - :ensure => 'file', - :content => /#{params[:content]}/, - :mode => '0444' - ) } - end - end - end -end