summaryrefslogtreecommitdiffstats
path: root/spec/shared_behaviours/file_server_terminus.rb
diff options
context:
space:
mode:
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)