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

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:31:06 UTC 2010


The following commit has been merged in the upstream branch:
commit 67a75dbc579f157829be05776f9eea0b06380064
Author: Luke Kanies <luke at reductivelabs.com>
Date:   Tue Mar 23 10:20:44 2010 -0700

    Fixing broken selinux tests
    
    Signed-off-by: Luke Kanies <luke at reductivelabs.com>

diff --git a/spec/unit/type/file/selinux.rb b/spec/unit/type/file/selinux.rb
index be58e63..af92a76 100644
--- a/spec/unit/type/file/selinux.rb
+++ b/spec/unit/type/file/selinux.rb
@@ -7,8 +7,7 @@ Dir.chdir(File.dirname(__FILE__)) { (s = lambda { |f| File.exist?(f) ? require(f
     property = Puppet::Type.type(:file).attrclass(param)
     describe property do
         before do
-            @resource = mock 'resource'
-            @resource.stubs(:[]).with(:path).returns "/my/file"
+            @resource = Puppet::Type.type(:file).new :path => "/my/file"
             @sel = property.new :resource => @resource
         end
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list