diff --git a/spec/classes/update_spec.rb b/spec/classes/update_spec.rb index b3e0d5f..d6512ea 100644 --- a/spec/classes/update_spec.rb +++ b/spec/classes/update_spec.rb @@ -21,7 +21,7 @@ ) } when 'RedHat' - if facts[:os]['release']['major'] == '7' + if facts[:os]['release']['major'] >= '7' it { is_expected.not_to contain_exec('enable_ca_trust') } else context 'with force_enable set to true' do