[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

Markus Roberts Markus at reality.com
Wed Jul 14 10:36:32 UTC 2010


The following commit has been merged in the upstream branch:
commit 84a94127d27262c02e141193c91cecf486b6be9d
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Thu Jul 1 23:00:07 2010 -0700

    maint: fix stub failure in report_spec.rb
    
    Puppet::Util::Storage was trying to create state.yaml during an
    unrelated spec.

diff --git a/spec/unit/type/mount_spec.rb b/spec/unit/type/mount_spec.rb
index fd9c6cb..c9622fd 100755
--- a/spec/unit/type/mount_spec.rb
+++ b/spec/unit/type/mount_spec.rb
@@ -196,6 +196,9 @@ describe Puppet::Type.type(:mount), "when modifying an existing mount entry" do
 
         @mount.provider.stubs(:mounted?).returns true
 
+        # stub this to not try to create state.yaml
+        Puppet::Util::Storage.stubs(:store)
+
         @catalog = Puppet::Resource::Catalog.new
         @catalog.add_resource @mount
     end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list