summaryrefslogtreecommitdiffstats
path: root/spec/integration/file_serving
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/file_serving')
-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 b6505f096..6975594a8 100755
--- a/spec/integration/file_serving/configuration.rb
+++ b/spec/integration/file_serving/configuration.rb
@@ -12,8 +12,6 @@ describe Puppet::FileServing::Configuration, " when finding files with Puppet::F
# Just in case it already exists.
Puppet::FileServing::Configuration.clear_cache
- @config = Puppet::FileServing::Configuration.create
-
@mount = Puppet::FileServing::Mount.new("mymount")
FileTest.stubs(:exists?).with("/my/path").returns(true)
FileTest.stubs(:readable?).with("/my/path").returns(true)
@@ -25,6 +23,8 @@ describe Puppet::FileServing::Configuration, " when finding files with Puppet::F
@parser.stubs(:parse).returns("mymount" => @mount)
@parser.stubs(:changed?).returns(true)
Puppet::FileServing::Configuration::Parser.stubs(:new).returns(@parser)
+
+ @config = Puppet::FileServing::Configuration.create
end
it "should return nil if the file does not exist" do