diff options
author | Luke Kanies <luke@madstop.com> | 2008-02-25 18:28:26 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-02-25 18:28:26 -0500 |
commit | 9d2f45df3d951ef59a44a7fb81a38586f04884b4 (patch) | |
tree | 0c97adcca32ba9ad2e20b2457f3db0c4b91f8376 /spec/integration/file_serving/configuration.rb | |
parent | 0afea69c06742eff1e8d8bd7df13c9c0e4c397c0 (diff) | |
parent | 04892ee723d1a687c83eb6c99b5c6a6c76bbcbc9 (diff) | |
download | puppet-9d2f45df3d951ef59a44a7fb81a38586f04884b4.tar.gz puppet-9d2f45df3d951ef59a44a7fb81a38586f04884b4.tar.xz puppet-9d2f45df3d951ef59a44a7fb81a38586f04884b4.zip |
Merge branch '0.24.x'
Diffstat (limited to 'spec/integration/file_serving/configuration.rb')
-rwxr-xr-x | spec/integration/file_serving/configuration.rb | 4 |
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 |