aboutsummaryrefslogtreecommitdiff
path: root/spec/spec_helper_local.rb
diff options
context:
space:
mode:
authorMelissa <melissa@puppet.com>2018-07-02 11:45:02 -0700
committerGitHub <noreply@github.com>2018-07-02 11:45:02 -0700
commitc42bbe6471b9f1813d7b40b9f67d988b994a8e5a (patch)
treefa26c6a5cd53626ac3cddc4922c47add356c6435 /spec/spec_helper_local.rb
parentd1719de1d77b9c139b1b5f5832330807c0fe11fe (diff)
parent950a6c0a21896989118badc0f541f7469752c63f (diff)
downloadpuppet-sshkeys_core-c42bbe6471b9f1813d7b40b9f67d988b994a8e5a.tar.gz
puppet-sshkeys_core-c42bbe6471b9f1813d7b40b9f67d988b994a8e5a.tar.bz2
Merge pull request #1 from jhelwig/module-updates
Import the module
Diffstat (limited to 'spec/spec_helper_local.rb')
-rw-r--r--spec/spec_helper_local.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper_local.rb b/spec/spec_helper_local.rb
index fc786a6..f06b4bb 100644
--- a/spec/spec_helper_local.rb
+++ b/spec/spec_helper_local.rb
@@ -8,10 +8,10 @@ end
require 'puppet_spec/files'
RSpec.configure do |config|
- config.before :each do |test|
+ config.before :each do |_test|
base = PuppetSpec::Files.tmpdir('tmp_settings')
Puppet[:vardir] = File.join(base, 'var')
FileUtils.mkdir_p Puppet[:statedir]
end
-end \ No newline at end of file
+end