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 #842 from tphoney/remove_unsupported_code
[puppet-modules/puppetlabs-apt.git]
/
spec
/
unit
/
facter
/
apt_package_updates_spec.rb
diff --git
a/spec/unit/facter/apt_package_updates_spec.rb
b/spec/unit/facter/apt_package_updates_spec.rb
index f24481a98239d593ea2d458b46e60433205b8a91..3468691f00f083f362865bc3ec15429c91c9e1d5 100644
(file)
--- a/
spec/unit/facter/apt_package_updates_spec.rb
+++ b/
spec/unit/facter/apt_package_updates_spec.rb
@@
-24,10
+24,6
@@
describe 'apt_package_updates fact' do
"Conf unhide.rb (22-2~bpo8+1 Debian Backports:jessie-backports [all])\n"
Facter::Util::Resolution.expects(:exec).with('/usr/bin/apt-get -s -o Debug::NoLocking=true upgrade 2>&1').returns apt_output
end
"Conf unhide.rb (22-2~bpo8+1 Debian Backports:jessie-backports [all])\n"
Facter::Util::Resolution.expects(:exec).with('/usr/bin/apt-get -s -o Debug::NoLocking=true upgrade 2>&1').returns apt_output
end
- if Facter.version < '2.0.0'
- it { is_expected.to eq('tzdata,unhide.rb') }
- else
- it { is_expected.to eq(['tzdata', 'unhide.rb']) }
- end
+ it { is_expected.to eq(['tzdata', 'unhide.rb']) }
end
end
end
end