diff --git a/spec/acceptance/post_transaction_actions_spec.rb b/spec/acceptance/post_transaction_actions_spec.rb index 14df7df..5cc1e6a 100644 --- a/spec/acceptance/post_transaction_actions_spec.rb +++ b/spec/acceptance/post_transaction_actions_spec.rb @@ -15,7 +15,7 @@ # Using puppet_apply as a helper it 'must work idempotently with no errors', - unless: facts['os']['name'] == 'OracleLinux' && facts['os']['release']['major'] == '7' do + unless: facts['os']['name'] == 'OracleLinux' do pp = <<-EOS yum::post_transaction_action{'touch_file': key => 'vim-*', @@ -37,7 +37,7 @@ end describe file('/tmp/vim-installed') do - it unless: facts['os']['name'] == 'OracleLinux' && facts['os']['release']['major'] == '7' do + it unless: facts['os']['name'] == 'OracleLinux' do is_expected.to be_file end end