summaryrefslogtreecommitdiffstats
path: root/spec/integration/file_serving/configuration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/file_serving/configuration.rb')
-rwxr-xr-xspec/integration/file_serving/configuration.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/file_serving/configuration.rb b/spec/integration/file_serving/configuration.rb
index dfdda402d..06cf3abd9 100755
--- a/spec/integration/file_serving/configuration.rb
+++ b/spec/integration/file_serving/configuration.rb
@@ -10,7 +10,7 @@ require 'puppet/file_serving/configuration'
describe Puppet::FileServing::Configuration, " when finding files with Puppet::FileServing::Mount" do
before do
# Just in case it already exists.
- Puppet::Util::Cacher.invalidate
+ Puppet::Util::Cacher.expire
@mount = Puppet::FileServing::Mount.new("mymount")
FileTest.stubs(:exists?).with("/my/path").returns(true)
@@ -38,6 +38,6 @@ describe Puppet::FileServing::Configuration, " when finding files with Puppet::F
end
after do
- Puppet::Util::Cacher.invalidate
+ Puppet::Util::Cacher.expire
end
end