summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-07-01 15:46:40 -0700
committerMarkus Roberts <Markus@reality.com>2010-07-02 12:31:52 -0700
commitd6d726bc683b770cdf493ce0977fda095cb8f89c (patch)
treec2af274e216d35686eeb84b558ca8ac2578e035a
parente579aab5529f080d88aed35656b66d80a2065a64 (diff)
downloadpuppet-d6d726bc683b770cdf493ce0977fda095cb8f89c.tar.gz
puppet-d6d726bc683b770cdf493ce0977fda095cb8f89c.tar.xz
puppet-d6d726bc683b770cdf493ce0977fda095cb8f89c.zip
Heisenbug: settings as catalog trying to create directories
Specs in settings were allowing the settings-as-catalog to escape onto the system.
-rwxr-xr-xspec/unit/util/settings_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/util/settings_spec.rb b/spec/unit/util/settings_spec.rb
index d0d2e0db8..56769af71 100755
--- a/spec/unit/util/settings_spec.rb
+++ b/spec/unit/util/settings_spec.rb
@@ -864,6 +864,7 @@ describe Puppet::Util::Settings do
it "should specify that it is not managing a host catalog" do
catalog = Puppet::Resource::Catalog.new("foo")
+ catalog.expects(:apply)
@settings.expects(:to_catalog).returns catalog
catalog.stubs(:to_ral).returns catalog