summaryrefslogtreecommitdiffstats
path: root/spec/unit/ssl/certificate_request.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-06-15 16:47:14 -0500
committerLuke Kanies <luke@madstop.com>2008-06-15 16:47:14 -0500
commitc542dc065fd618ae85bb6e8960d8819f42aefaeb (patch)
tree32349ad75c88414e097d249b1be9669f2b5e599c /spec/unit/ssl/certificate_request.rb
parent7b10c39bdc20cad3d4652008c404d576461d75e1 (diff)
downloadpuppet-c542dc065fd618ae85bb6e8960d8819f42aefaeb.tar.gz
puppet-c542dc065fd618ae85bb6e8960d8819f42aefaeb.tar.xz
puppet-c542dc065fd618ae85bb6e8960d8819f42aefaeb.zip
Fixing #1168 for REST -- all ssl classes downcase their names.
This is a much cleaner fix than the xmlrpc version, thankfully. :)
Diffstat (limited to 'spec/unit/ssl/certificate_request.rb')
-rwxr-xr-xspec/unit/ssl/certificate_request.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/ssl/certificate_request.rb b/spec/unit/ssl/certificate_request.rb
index 351e5bbd5..be5aa5a96 100755
--- a/spec/unit/ssl/certificate_request.rb
+++ b/spec/unit/ssl/certificate_request.rb
@@ -35,6 +35,10 @@ describe Puppet::SSL::CertificateRequest do
@request.name.should == "myname"
end
+ it "should downcase its name" do
+ @class.new("MyName").name.should == "myname"
+ end
+
it "should have a content attribute" do
@request.should respond_to(:content)
end