diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-04-09 18:45:36 -0700 |
---|---|---|
committer | Jesse Wolfe <jes5199@gmail.com> | 2010-04-09 18:45:36 -0700 |
commit | 3797c7a5af1024aaab08a905559ebd654fa978a6 (patch) | |
tree | 5127a70d64a7b6efb78c2fe91f91764c250ef0c4 /spec | |
parent | 83d8bdaf52ddbb2de4ab8d4b8b7e1593b96e169f (diff) | |
download | puppet-3797c7a5af1024aaab08a905559ebd654fa978a6.tar.gz puppet-3797c7a5af1024aaab08a905559ebd654fa978a6.tar.xz puppet-3797c7a5af1024aaab08a905559ebd654fa978a6.zip |
Update YAML dir test to match behavior
Diffstat (limited to 'spec')
-rwxr-xr-x | spec/unit/indirector/yaml.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/indirector/yaml.rb b/spec/unit/indirector/yaml.rb index a461b0c0c..153b9651b 100755 --- a/spec/unit/indirector/yaml.rb +++ b/spec/unit/indirector/yaml.rb @@ -29,8 +29,8 @@ describe Puppet::Indirector::Yaml, " when choosing file location" do describe Puppet::Indirector::Yaml, " when choosing file location" do it "should use the server_datadir if the process name is 'puppetmasterd'" do Puppet.settings.expects(:value).with(:name).returns "puppetmasterd" - Puppet.settings.expects(:value).with(:server_datadir).returns "/server/data/dir" - @store.path(:me).should =~ %r{^/server/data/dir} + Puppet.settings.expects(:value).with(:yamldir).returns "/server/yaml/dir" + @store.path(:me).should =~ %r{^/server/yaml/dir} end it "should use the client yamldir if the process name is not 'puppetmasterd'" do |