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
Merge pull request #248 from electrical/fix_params_fail
[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 aab77a1a766497fd9ad702f71ffa57aadfe73023..a43902300d7c0c1067db5660ee82396186eda631 100644
(file)
--- a/
spec/acceptance/force_spec.rb
+++ b/
spec/acceptance/force_spec.rb
@@
-2,12
+2,12
@@
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
include apt
context 'defaults' do
it 'should work with no errors' do
pp = <<-EOS
include apt
- apt::force { 'vim':
release => false,
}
+ apt::force { 'vim': }
EOS
shell('apt-get remove -y vim')
EOS
shell('apt-get remove -y vim')
@@
-41,7
+41,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': version => '1.1.1'
, release => false,
}
+ apt::force { 'vim': version => '1.1.1' }
EOS
shell('apt-get remove -y vim')
EOS
shell('apt-get remove -y vim')
@@
-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':
release => false,
timeout => '1' }
+ apt::force { 'vim': timeout => '1' }
EOS
shell('apt-get clean')
EOS
shell('apt-get clean')