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 #1104 from kenyon/refresh-on-expired-subkeys
[puppet-modules/puppetlabs-apt.git]
/
spec
/
unit
/
facter
/
apt_reboot_required_spec.rb
diff --git
a/spec/unit/facter/apt_reboot_required_spec.rb
b/spec/unit/facter/apt_reboot_required_spec.rb
index f92282278494603a5e7cbcb3f77c0c3a7f26f3ba..b60724514eac3881c3a0b7c337d528a5130c66d6 100644
(file)
--- a/
spec/unit/facter/apt_reboot_required_spec.rb
+++ b/
spec/unit/facter/apt_reboot_required_spec.rb
@@
-14,7
+14,7
@@
describe 'apt_reboot_required fact' do
allow(File).to receive(:file?).once.with('/var/run/reboot-required').and_return(true)
end
allow(File).to receive(:file?).once.with('/var/run/reboot-required').and_return(true)
end
- it { is_expected.to
eq
true }
+ it { is_expected.to
be
true }
end
describe 'if a reboot is not required' do
end
describe 'if a reboot is not required' do
@@
-24,6
+24,6
@@
describe 'apt_reboot_required fact' do
allow(File).to receive(:file?).once.with('/var/run/reboot-required').and_return(false)
end
allow(File).to receive(:file?).once.with('/var/run/reboot-required').and_return(false)
end
- it { is_expected.to
eq
false }
+ it { is_expected.to
be
false }
end
end
end
end