summaryrefslogtreecommitdiffstats
path: root/spec/unit/node.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-03-20 11:55:42 -0500
committerLuke Kanies <luke@madstop.com>2008-03-20 11:55:42 -0500
commite1907798425a7b163ac1b831b0cf11e88985815e (patch)
tree281191621b07b939ad724981d110b9a85463b5e1 /spec/unit/node.rb
parent9f8bb7e42aeea4670d9292f935529f8db5d57bc5 (diff)
parente00065a8e63a7222eacbc7e8aaa925e967fd5c60 (diff)
downloadpuppet-e1907798425a7b163ac1b831b0cf11e88985815e.tar.gz
puppet-e1907798425a7b163ac1b831b0cf11e88985815e.tar.xz
puppet-e1907798425a7b163ac1b831b0cf11e88985815e.zip
Merge branch '0.24.x'
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