summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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