From f285f1aab525a2585532fda0b15b7fd28e994491 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Thu, 10 Apr 2008 13:14:58 -0500 Subject: Moved the request creation into the Indirection class instead of the Indirector module. Also, added an 'expire' method to the indirector, so there's an easy way to expire cached instances. --- spec/integration/node/facts.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec/integration/node') diff --git a/spec/integration/node/facts.rb b/spec/integration/node/facts.rb index 977a1b6c9..d065918be 100755 --- a/spec/integration/node/facts.rb +++ b/spec/integration/node/facts.rb @@ -9,6 +9,10 @@ describe Puppet::Node::Facts do describe "when using the indirector" do after { Puppet::Node::Facts.indirection.clear_cache } + it "should expire any cached node instances when it is saved" do + raise "This test fails" + end + it "should be able to delegate to the :yaml terminus" do Puppet::Node::Facts.indirection.stubs(:terminus_class).returns :yaml -- cgit