summaryrefslogtreecommitdiffstats
path: root/spec/shared_behaviours/file_server_terminus.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-11-11 10:47:32 -0600
committerLuke Kanies <luke@madstop.com>2008-11-11 12:53:37 -0800
commit14af971bc618d665f481142934b2f612d503823c (patch)
tree08804f17e7b75110d0ea584583e235c8a4778cd0 /spec/shared_behaviours/file_server_terminus.rb
parent99a0770a30c7c9a1349fd693cda31bdbf2717864 (diff)
downloadpuppet-14af971bc618d665f481142934b2f612d503823c.tar.gz
puppet-14af971bc618d665f481142934b2f612d503823c.tar.xz
puppet-14af971bc618d665f481142934b2f612d503823c.zip
Changing the Cacher.invalidate method to Cacher.expire.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/shared_behaviours/file_server_terminus.rb')
-rw-r--r--spec/shared_behaviours/file_server_terminus.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/shared_behaviours/file_server_terminus.rb b/spec/shared_behaviours/file_server_terminus.rb
index fc5673a65..13561f09c 100644
--- a/spec/shared_behaviours/file_server_terminus.rb
+++ b/spec/shared_behaviours/file_server_terminus.rb
@@ -7,7 +7,7 @@ describe "Puppet::Indirector::FileServerTerminus", :shared => true do
# This only works if the shared behaviour is included before
# the 'before' block in the including context.
before do
- Puppet::Util::Cacher.invalidate
+ Puppet::Util::Cacher.expire
FileTest.stubs(:exists?).returns true
FileTest.stubs(:exists?).with(Puppet[:fileserverconfig]).returns(true)