[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.5-303-gfcfa26a

Jacob Helwig jacob at puppetlabs.com
Thu Mar 17 10:48:59 UTC 2011


The following commit has been merged in the upstream branch:
commit 92dffb29b50160e429b93f941054e5b74df8c598
Author: Jacob Helwig <jacob at puppetlabs.com>
Date:   Sat Mar 5 12:35:25 2011 -0600

    (#6513) Adjust P::U::Settings test name to reflect what it tests
    
    The 'should interpolate found values using the current environment' wasn't
    actually testing what it was describing, since the environment variable is
    special cased.
    
    Reviewed-by: Jesse Wolfe <jesse at puppetlabs.com>

diff --git a/spec/unit/util/settings_spec.rb b/spec/unit/util/settings_spec.rb
index 7bca44b..3ed843b 100755
--- a/spec/unit/util/settings_spec.rb
+++ b/spec/unit/util/settings_spec.rb
@@ -331,7 +331,7 @@ describe Puppet::Util::Settings do
       @settings.value(:one, "env").should == "envval"
     end
 
-    it "should interpolate found values using the current environment" do
+    it 'should use the current environment for $environment' do
       @settings.setdefaults :main, :myval => ["$environment/foo", "mydocs"]
 
       @settings.value(:myval, "myenv").should == "myenv/foo"

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list