[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

Luke Kanies luke at madstop.com
Fri Jan 23 14:21:53 UTC 2009


The following commit has been merged in the master branch:
commit fd128d6b3e5b1b9759646428d056faffade5d19a
Author: Luke Kanies <luke at madstop.com>
Date:   Mon Dec 1 18:10:55 2008 -0600

    Fixing a package test to be *much* faster
    
    Signed-off-by: Luke Kanies <luke at madstop.com>

diff --git a/spec/unit/type/package.rb b/spec/unit/type/package.rb
index 3ceb8e3..ada7608 100755
--- a/spec/unit/type/package.rb
+++ b/spec/unit/type/package.rb
@@ -109,6 +109,7 @@ describe Puppet::Type.type(:package) do
     before :each do
         @provider = stub 'provider', :class => Puppet::Type.type(:package).defaultprovider, :clear => nil, :satisfies? => true, :name => :mock
         Puppet::Type.type(:package).defaultprovider.stubs(:new).returns(@provider)
+        Puppet::Type.type(:package).defaultprovider.stubs(:instances).returns([])
         @package = Puppet::Type.type(:package).create(:name => "yay")
 
         @catalog = Puppet::Node::Catalog.new

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list