summaryrefslogtreecommitdiffstats
path: root/spec/integration
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@rimspace.net>2011-08-16 10:26:45 -0700
committerDaniel Pittman <daniel@rimspace.net>2011-08-16 10:26:45 -0700
commitc9c331bda6f4220d3fde636cdfdc7b0ae449c005 (patch)
treef04484c2acd28fe1fb48bd380b71be2370a15b83 /spec/integration
parentb3e7f7b14111b75fbce01ce2bab5adf0fa333882 (diff)
parent2297899e76dd3b65787768f2e4bf6b74b95a3d66 (diff)
downloadpuppet-c9c331bda6f4220d3fde636cdfdc7b0ae449c005.tar.gz
puppet-c9c331bda6f4220d3fde636cdfdc7b0ae449c005.tar.xz
puppet-c9c331bda6f4220d3fde636cdfdc7b0ae449c005.zip
Merge pull request #40 from jhelwig/fix-order-dependent-terminus-tests-in-2.7.x
Fix order dependent terminus tests in 2.7.x
Diffstat (limited to 'spec/integration')
-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