summaryrefslogtreecommitdiffstats
path: root/spec/unit/face/secret_agent_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/face/secret_agent_spec.rb')
-rwxr-xr-xspec/unit/face/secret_agent_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/face/secret_agent_spec.rb b/spec/unit/face/secret_agent_spec.rb
index a5ec01f27..2530d144d 100755
--- a/spec/unit/face/secret_agent_spec.rb
+++ b/spec/unit/face/secret_agent_spec.rb
@@ -5,10 +5,12 @@ require 'puppet/indirector/catalog/rest'
require 'tempfile'
describe Puppet::Face[:secret_agent, '0.0.1'] do
+ include PuppetSpec::Files
+
describe "#synchronize" do
it "should retrieve and apply a catalog and return a report" do
pending "This test doesn't work, but the code actually does - tested by LAK"
- dirname = Dir.mktmpdir("puppetdir")
+ dirname = tmpdir("puppetdir")
Puppet[:vardir] = dirname
Puppet[:confdir] = dirname
@catalog = Puppet::Resource::Catalog.new