Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Sometimes killing apt is too aggressive.
[puppet-modules/puppetlabs-apt.git]
/
spec
/
acceptance
/
force_spec.rb
diff --git
a/spec/acceptance/force_spec.rb
b/spec/acceptance/force_spec.rb
index c364d5fe157fdb05ea4b7e2fa6ff235841e3ee8d..5f4dec3fc76487705b147c368a3563bf194da2e3 100644
(file)
--- a/
spec/acceptance/force_spec.rb
+++ b/
spec/acceptance/force_spec.rb
@@
-2,7
+2,7
@@
require 'spec_helper_acceptance'
codename = fact('lsbdistcodename')
codename = fact('lsbdistcodename')
-describe 'apt::force define' do
+describe 'apt::force define'
, :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily'))
do
context 'defaults' do
it 'should work with no errors' do
pp = <<-EOS
context 'defaults' do
it 'should work with no errors' do
pp = <<-EOS
@@
-59,7
+59,7
@@
describe 'apt::force define' do
it 'should work with no errors' do
pp = <<-EOS
include apt
it 'should work with no errors' do
pp = <<-EOS
include apt
- apt::force { '
vim
': timeout => '1' }
+ apt::force { '
ocaml
': timeout => '1' }
EOS
shell('apt-get clean')
EOS
shell('apt-get clean')
@@
-68,7
+68,7
@@
describe 'apt::force define' do
end
end
end
end
- describe package('
vim
') do
+ describe package('
ocaml
') do
it { should_not be_installed }
end
end
it { should_not be_installed }
end
end