From ccd622a96dfe5871689f5b2f059c11aef3caf3b4 Mon Sep 17 00:00:00 2001 From: Pieter van de Bruggen Date: Wed, 27 Jul 2011 14:10:02 -0700 Subject: (#1886) Clean up `node clean` for merge. This includes various style changes, and assorted fixes to testing. Paired-With: Matt Robinson --- spec/integration/node/facts_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/integration/node') diff --git a/spec/integration/node/facts_spec.rb b/spec/integration/node/facts_spec.rb index f54d7f9aa..e87a0bdeb 100755 --- a/spec/integration/node/facts_spec.rb +++ b/spec/integration/node/facts_spec.rb @@ -7,7 +7,7 @@ require 'spec_helper' describe Puppet::Node::Facts do describe "when using the indirector" do - after { Puppet::Util::Cacher.expire } + after(:each) { Puppet::Util::Cacher.expire } it "should expire any cached node instances when it is saved" do Puppet::Node::Facts.indirection.stubs(:terminus_class).returns :yaml -- cgit