X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fdefines%2Fconf_spec.rb;h=3158c16ef41cd842f6f73de870b560343766165e;hb=c5259f83ad20d120d502d8541c75f4ee6021fec8;hp=3089f0c85392ab8d4d865780b4a6448bf2757e55;hpb=ab2e06b72f2be8dc38d6e3ecec68dc2cdacbce4e;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/defines/conf_spec.rb b/spec/defines/conf_spec.rb index 3089f0c..3158c16 100644 --- a/spec/defines/conf_spec.rb +++ b/spec/defines/conf_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe 'apt::conf', type: :define do let :pre_condition do @@ -34,8 +36,7 @@ describe 'apt::conf', type: :define do is_expected.to contain_file(filename).with('ensure' => 'present', 'content' => %r{Apt::Install-Recommends 0;\nApt::AutoRemove::InstallRecommends 1;}, 'owner' => 'root', - 'group' => 'root', - 'mode' => '0444') + 'group' => 'root') } context 'with notify_update = true (default)' do @@ -82,8 +83,7 @@ describe 'apt::conf', type: :define do it { is_expected.to contain_file(filename).with('ensure' => 'absent', 'owner' => 'root', - 'group' => 'root', - 'mode' => '0444') + 'group' => 'root') } end end