diff options
| author | Luke Kanies <luke@madstop.com> | 2007-09-22 17:54:46 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-09-22 17:54:46 -0500 |
| commit | 3a18348fdbea39f56857b03c8f531bd5a2a8105d (patch) | |
| tree | f305e24aee683167f45f962e5fcdfe524d59d93e /spec/unit/node/node.rb | |
| parent | e552c83b2875dab60a5508bfae352e7aa9235746 (diff) | |
| download | puppet-3a18348fdbea39f56857b03c8f531bd5a2a8105d.tar.gz puppet-3a18348fdbea39f56857b03c8f531bd5a2a8105d.tar.xz puppet-3a18348fdbea39f56857b03c8f531bd5a2a8105d.zip | |
Renaming the 'Puppet::Util::Config' class to
'Puppet::Util::Settings'. This is to clear up
confusion caused by the fact that we now have a
'Configuration' class to model host configurations,
or any set of resources as a "configuration".
Diffstat (limited to 'spec/unit/node/node.rb')
| -rwxr-xr-x | spec/unit/node/node.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/node/node.rb b/spec/unit/node/node.rb index 53f362da6..3146f6e7e 100755 --- a/spec/unit/node/node.rb +++ b/spec/unit/node/node.rb @@ -66,7 +66,7 @@ describe Puppet::Node, " when returning the environment" do end it "should return the central environment if there is no environment fact nor explicit environment" do - Puppet.config.expects(:[]).with(:environment).returns(:centralenv) + Puppet.settings.expects(:[]).with(:environment).returns(:centralenv) @node.environment.should == :centralenv end @@ -81,7 +81,7 @@ describe Puppet::Node, " when returning the environment" do end it "should not use an explicit environment that is an empty string" do - Puppet.config.expects(:[]).with(:environment).returns(nil) + Puppet.settings.expects(:[]).with(:environment).returns(nil) @node.environment.should be_nil end end |
