summaryrefslogtreecommitdiffstats
path: root/spec/integration
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-04-10 13:14:58 -0500
committerLuke Kanies <luke@madstop.com>2008-04-10 13:14:58 -0500
commitf285f1aab525a2585532fda0b15b7fd28e994491 (patch)
tree527c723c463276d310034b1db75b64bb90a17c2d /spec/integration
parentd420701522990dd7c55bda7ea1e070254e9dcd13 (diff)
downloadpuppet-f285f1aab525a2585532fda0b15b7fd28e994491.tar.gz
puppet-f285f1aab525a2585532fda0b15b7fd28e994491.tar.xz
puppet-f285f1aab525a2585532fda0b15b7fd28e994491.zip
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.
Diffstat (limited to 'spec/integration')
-rwxr-xr-xspec/integration/node/facts.rb4
1 files changed, 4 insertions, 0 deletions
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