Skip to content

Commit

Permalink
Better test
Browse files Browse the repository at this point in the history
  • Loading branch information
pillarsdotnet committed Sep 27, 2023
1 parent b949745 commit 0790a84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/acceptance/apt_backports_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
context 'update_had_no_effect script' do
let(:pp) do
<<-MANIFEST
exec { 'Test the script':
command => epp('apt/update_had_no_effect.sh.epp'),
logoutput => true,
exec { 'apt_update':
command => 'echo apt updated the package cache.',
logoutput => on_failure,
provider => shell,
returns => [0, 1],
unless => epp('apt/update_had_no_effect.sh.epp'),
}
MANIFEST
end
Expand Down

0 comments on commit 0790a84

Please sign in to comment.