summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-05 19:08:54 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-06 16:37:11 -0700
commit27bd1adb7cc43bfdeb8fb941418cfce3a7f694ef (patch)
tree66eebc03390c427db1a1579e7093b3e014edb012
parenta03790d82a2c190d6f00ee7677617a7be04aa85d (diff)
downloadpuppet-27bd1adb7cc43bfdeb8fb941418cfce3a7f694ef.tar.gz
puppet-27bd1adb7cc43bfdeb8fb941418cfce3a7f694ef.tar.xz
puppet-27bd1adb7cc43bfdeb8fb941418cfce3a7f694ef.zip
(#6983) mark test pending until string is fixed...
The certificate string is broken, and won't allow you to either search or save certificates. Given that, mark the test on it broken until that is completed. Reviewed-By: Dan Bode <dan@puppetlabs.com>
-rw-r--r--lib/puppet/string/certificate.rb1
-rwxr-xr-xspec/unit/string/certificate_spec.rb6
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/puppet/string/certificate.rb b/lib/puppet/string/certificate.rb
index fdb0bc9f4..e8773ae2e 100644
--- a/lib/puppet/string/certificate.rb
+++ b/lib/puppet/string/certificate.rb
@@ -43,5 +43,4 @@ Puppet::String::Indirector.define(:certificate, '0.0.1') do
Puppet::SSL::Host.indirection.save(host)
end
end
-
end
diff --git a/spec/unit/string/certificate_spec.rb b/spec/unit/string/certificate_spec.rb
index 4afd581bf..9fdc5aab8 100755
--- a/spec/unit/string/certificate_spec.rb
+++ b/spec/unit/string/certificate_spec.rb
@@ -6,9 +6,9 @@ describe Puppet::String[:certificate, '0.0.1'] do
end
it "should set the ca location when invoked" do
- pending "The string itself is broken in this release."
+ pending "#6983: This is broken in the actual string..."
Puppet::SSL::Host.expects(:ca_location=).with(:foo)
- Puppet::SSL::Host.indirection.expects(:search)
- subject.list :ca_location => :foo
+ Puppet::SSL::Host.indirection.expects(:save)
+ subject.sign :ca_location => :foo
end
end