The 'should interpolate found values using the current environment' wasn't actually testing what it was describing, since the environment variable is special cased.
Signed-off-by: Jacob Helwig <[email protected]> --- Local branch: ticket/2.6.x/6513-propigate-environment-in-settings-values spec/unit/util/settings_spec.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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" -- 1.7.4.1 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
