summaryrefslogtreecommitdiffstats
path: root/spec/unit/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/node.rb')
-rwxr-xr-xspec/unit/node.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/node.rb b/spec/unit/node.rb
index 96e1d5617..b16696585 100755
--- a/spec/unit/node.rb
+++ b/spec/unit/node.rb
@@ -143,6 +143,10 @@ describe Puppet::Node, " when indirecting" do
Puppet::Node.indirection.terminus_class.should == :plain
end
+ it "should use yaml for caching" do
+ Puppet::Node.indirection.cache_class.should == :yaml
+ end
+
after do
Puppet::Indirector::Indirection.clear_cache
end