summaryrefslogtreecommitdiffstats
path: root/spec/unit/ssl
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-11-03 21:41:30 -0600
committerLuke Kanies <luke@madstop.com>2008-11-03 21:41:30 -0600
commita00c1f2bb508d711c5fa0dd4bda98b7a747140aa (patch)
tree6074a23984ad7e8770d3bb47694ad43eb09d94be /spec/unit/ssl
parentcf3a11cb641c6317f61d0f596bc8a137aa4adbca (diff)
downloadpuppet-a00c1f2bb508d711c5fa0dd4bda98b7a747140aa.tar.gz
puppet-a00c1f2bb508d711c5fa0dd4bda98b7a747140aa.tar.xz
puppet-a00c1f2bb508d711c5fa0dd4bda98b7a747140aa.zip
Handling the case where a symbol (e.g., :ca) is used for a certificate name.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit/ssl')
-rwxr-xr-xspec/unit/ssl/certificate.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/ssl/certificate.rb b/spec/unit/ssl/certificate.rb
index 92b7f2cd6..a092c6abe 100755
--- a/spec/unit/ssl/certificate.rb
+++ b/spec/unit/ssl/certificate.rb
@@ -86,8 +86,8 @@ describe Puppet::SSL::Certificate do
@certificate.name.should == "myname"
end
- it "should downcase its name" do
- @class.new("MyName").name.should == "myname"
+ it "should convert its name to a string and downcase it" do
+ @class.new(:MyName).name.should == "myname"
end
it "should have a content attribute" do