summaryrefslogtreecommitdiffstats
path: root/spec/unit/application/secret_agent_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/application/secret_agent_spec.rb')
-rwxr-xr-xspec/unit/application/secret_agent_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/application/secret_agent_spec.rb b/spec/unit/application/secret_agent_spec.rb
index eba936447..d3923406d 100755
--- a/spec/unit/application/secret_agent_spec.rb
+++ b/spec/unit/application/secret_agent_spec.rb
@@ -6,10 +6,12 @@ require 'puppet/indirector/report/rest'
require 'tempfile'
describe "Puppet::Application::Secret_agent" do
+ include PuppetSpec::Files
+
it "should retrieve and apply a catalog and submit a report" do
pending "REVISIT: 2.7 changes broke this, and we want the merge published"
- dirname = Dir.mktmpdir("puppetdir")
+ dirname = tmpdir("puppetdir")
Puppet[:vardir] = dirname
Puppet[:confdir] = dirname
Puppet[:certname] = "foo"