summaryrefslogtreecommitdiffstats
path: root/spec/integration/node_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/node_spec.rb')
-rwxr-xr-xspec/integration/node_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/integration/node_spec.rb b/spec/integration/node_spec.rb
index 4ea6142e2..b81a1fdc3 100755
--- a/spec/integration/node_spec.rb
+++ b/spec/integration/node_spec.rb
@@ -10,6 +10,9 @@ require 'puppet/node'
describe Puppet::Node do
describe "when delegating indirection calls" do
before do
+ Puppet::Node.indirection.reset_terminus_class
+ Puppet::Node.indirection.cache_class = nil
+
@name = "me"
@node = Puppet::Node.new(@name)
end