Skip to content

Commit

Permalink
Try to skip yum::plugin::post_transaction_actions tests for all Oracl…
Browse files Browse the repository at this point in the history
…e Linux
  • Loading branch information
EmersonPrado committed Apr 2, 2024
1 parent 5553062 commit 1385400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/post_transaction_actions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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-*',
Expand All @@ -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
Expand Down

0 comments on commit 1385400

Please sign in to comment.