summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-05-12 14:22:52 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-05-12 14:22:52 -0700
commitc21539fe2205fc61ca9e0a49b3b2702e76931632 (patch)
treeac782f13cfb473e821e42781af5dcc16aedd903a /spec
parent058cc39227112cefc637d38fd67d471945b2d4aa (diff)
downloadpuppet-c21539fe2205fc61ca9e0a49b3b2702e76931632.tar.gz
puppet-c21539fe2205fc61ca9e0a49b3b2702e76931632.tar.xz
puppet-c21539fe2205fc61ca9e0a49b3b2702e76931632.zip
maint: sync 'authconfig' to 'rest_authconfig' setting
We changed the name of the authconfig setting to specify 'rest_', but this branch merge didn't sync the change through all the tests. Now resolved by renaming the configuration option in the test also. Paired-With: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/application/agent_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/application/agent_spec.rb b/spec/unit/application/agent_spec.rb
index 2e946e6bb..c4f8e7176 100755
--- a/spec/unit/application/agent_spec.rb
+++ b/spec/unit/application/agent_spec.rb
@@ -411,7 +411,7 @@ describe Puppet::Application::Agent do
it "should exit if no authorization file" do
Puppet.stubs(:err)
- FileTest.stubs(:exists?).with(Puppet[:authconfig]).returns(false)
+ FileTest.stubs(:exists?).with(Puppet[:rest_authconfig]).returns(false)
expect { @puppetd.setup_listen }.to exit_with 14
end