[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. puppet-0.24.5-rc3-1601-gf8c1b08

James Turnbull james at lovedthanlost.net
Fri Jan 15 09:07:48 UTC 2010


The following commit has been merged in the upstream branch:
commit 7b2e2badec926f8c43e2c4087b64b13d2e109f48
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Thu Dec 10 17:27:13 2009 -0800

    Fixing 2851 spec/unit/network/rest_authconfig.rb test descriptions change
    
    Some test names change arbitrarily since they were interpolating
    hashes instead of strings.
    
    This patch replaces, for example:
    - should insert methodfindacl/certificate_revocation_list/caauthenticatedtrue if not present
    
    with:
    - should insert /certificate_revocation_list/ca if not present
    
    Signed-off-by: Jesse Wolfe <jes5199 at gmail.com>

diff --git a/spec/unit/network/rest_authconfig.rb b/spec/unit/network/rest_authconfig.rb
index 0da3d9c..20a51ba 100755
--- a/spec/unit/network/rest_authconfig.rb
+++ b/spec/unit/network/rest_authconfig.rb
@@ -84,7 +84,7 @@ describe Puppet::Network::RestAuthConfig do
     end
 
     DEFAULT_ACL.each do |acl|
-        it "should insert #{acl} if not present" do
+        it "should insert #{acl[:acl]} if not present" do
             @authconfig.rights.stubs(:[]).returns(true)
             @authconfig.rights.stubs(:[]).with(acl[:acl]).returns(nil)
 
@@ -93,7 +93,7 @@ describe Puppet::Network::RestAuthConfig do
             @authconfig.insert_default_acl
         end
 
-        it "should not insert #{acl} if present" do
+        it "should not insert #{acl[:acl]} if present" do
             @authconfig.rights.stubs(:[]).returns(true)
             @authconfig.rights.stubs(:[]).with(acl).returns(true)
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list