diff options
| author | Luke Kanies <luke@madstop.com> | 2009-08-19 11:31:19 -0700 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-08-24 11:36:20 +1000 |
| commit | 058514aaf44f981a3239b402f2ff116ebf0d951f (patch) | |
| tree | 12ee14aa7e1f693671167c2190ad1021e10d4fee /spec/integration | |
| parent | b0f219ad177c8e9c261578586f0324cef0c71cd2 (diff) | |
Moving Setting classes into separate files
This isn't really a refactor, just moving code around.
I did some simple method renaming, also.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/integration')
| -rwxr-xr-x | spec/integration/defaults.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/integration/defaults.rb b/spec/integration/defaults.rb index 1a73521bd..b0fd7254a 100755 --- a/spec/integration/defaults.rb +++ b/spec/integration/defaults.rb @@ -39,14 +39,14 @@ describe "Puppet defaults" do # See #1232 it "should not specify a user or group for the clientyamldir" do - Puppet.settings.element(:clientyamldir).owner.should be_nil - Puppet.settings.element(:clientyamldir).group.should be_nil + Puppet.settings.setting(:clientyamldir).owner.should be_nil + Puppet.settings.setting(:clientyamldir).group.should be_nil end # See #1232 it "should not specify a user or group for the rundir" do - Puppet.settings.element(:rundir).owner.should be_nil - Puppet.settings.element(:rundir).group.should be_nil + Puppet.settings.setting(:rundir).owner.should be_nil + Puppet.settings.setting(:rundir).group.should be_nil end it "should use a bind address of ''" do @@ -61,7 +61,7 @@ describe "Puppet defaults" do [:modulepath, :factpath].each do |setting| it "should configure '#{setting}' not to be a file setting, so multi-directory settings are acceptable" do - Puppet.settings.element(setting).should be_instance_of(Puppet::Util::Settings::CElement) + Puppet.settings.setting(setting).should be_instance_of(Puppet::Util::Settings::Setting) end end |
