8
8
describe Puppet::Node::Facts do
9
9
describe "when using the indirector" do
12
12
it "should expire any cached node instances when it is saved" do
13
13
Puppet::Node::Facts.indirection.stubs(:terminus_class).returns :yaml
14
16
terminus = Puppet::Node::Facts.indirection.terminus(:yaml)
17
19
Puppet::Node.expects(:expire).with("me")
19
21
facts = Puppet::Node::Facts.new("me")