summaryrefslogtreecommitdiffstats
path: root/spec/unit/executables
diff options
context:
space:
mode:
authorAndrew Shafer <andrew@reductivelabs.com>2008-06-10 23:37:00 -0600
committerAndrew Shafer <andrew@reductivelabs.com>2008-06-10 23:37:00 -0600
commit6764af3c196a526647eb4a270ec737e2b0f20d36 (patch)
treefcd1f82874596c9550f051bd56551c8af8e72f4a /spec/unit/executables
parent946081b3c0bf24dc68a3a08fbcb6b5347e01de8f (diff)
downloadpuppet-6764af3c196a526647eb4a270ec737e2b0f20d36.tar.gz
puppet-6764af3c196a526647eb4a270ec737e2b0f20d36.tar.xz
puppet-6764af3c196a526647eb4a270ec737e2b0f20d36.zip
Change description of spec to make baby jesus happy
FAIL
Diffstat (limited to 'spec/unit/executables')
-rwxr-xr-xspec/unit/executables/client/certhandler.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/executables/client/certhandler.rb b/spec/unit/executables/client/certhandler.rb
index d12c51c1b..0a7b77f15 100755
--- a/spec/unit/executables/client/certhandler.rb
+++ b/spec/unit/executables/client/certhandler.rb
@@ -28,7 +28,7 @@ describe cert_handler, "when handling certificates" do
end
describe "when waiting for cert" do
- it "should loop when the cert request fails" do
+ it "should loop when the cert request does not return a certificate" do
@caclient.stubs(:request_cert).times(2).returns(false).then.returns(true)
ch = cert_handler.new(1,false)
ch.expects(:sleep)
@@ -54,7 +54,7 @@ describe cert_handler, "when handling certificates" do
end
describe "when in one time mode" do
- it "should exit if the cert request fails" do
+ it "should exit if the cert request does not return a certificate" do
@caclient.stubs(:request_cert).returns(false)
ch = cert_handler.new(1,true)
ch.expects(:exit).with(1).raises(SystemExit)