From 13854009c8554afcb4e52bcc74f4eb357e1407c5 Mon Sep 17 00:00:00 2001 From: Emerson Prado Date: Tue, 2 Apr 2024 20:52:48 -0300 Subject: [PATCH] Try to skip yum::plugin::post_transaction_actions tests for all Oracle Linux --- spec/acceptance/post_transaction_actions_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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