projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update stdlib
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
spec
/
unit
/
facter
/
util
/
puppet_settings_spec.rb
diff --git
a/3rdparty/modules/stdlib/spec/unit/facter/util/puppet_settings_spec.rb
b/3rdparty/modules/stdlib/spec/unit/facter/util/puppet_settings_spec.rb
index
c06137d
..
c278b79
100755
(executable)
--- a/
3rdparty/modules/stdlib/spec/unit/facter/util/puppet_settings_spec.rb
+++ b/
3rdparty/modules/stdlib/spec/unit/facter/util/puppet_settings_spec.rb
@@
-25,6
+25,7
@@
describe Facter::Util::PuppetSettings do
before :each do
Puppet.expects(:[]).with(:vardir).returns vardir
end
before :each do
Puppet.expects(:[]).with(:vardir).returns vardir
end
+
it 'should yield to the block' do
subject.with_puppet { Puppet[:vardir] }
end
it 'should yield to the block' do
subject.with_puppet { Puppet[:vardir] }
end