diff options
Diffstat (limited to 'spec/unit/facter/util/puppet_settings_spec.rb')
-rwxr-xr-x | spec/unit/facter/util/puppet_settings_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/facter/util/puppet_settings_spec.rb b/spec/unit/facter/util/puppet_settings_spec.rb index c06137d..c278b79 100755 --- a/spec/unit/facter/util/puppet_settings_spec.rb +++ b/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 + it 'should yield to the block' do subject.with_puppet { Puppet[:vardir] } end |