summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-01-12 12:07:43 -0800
committerTim Smith <tsmith@chef.io>2018-01-12 12:07:43 -0800
commit1a88d51c49b23365c8af5c6a6f5a9306eccae225 (patch)
tree55ad92a45d129d1868016aeb2f3fc6874847e992
parent274670360664fee1667787601a733319ae4ef18c (diff)
downloadchef-1a88d51c49b23365c8af5c6a6f5a9306eccae225.tar.gz
Chefstyle fixopenssl_resources
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/unit/resource/openssl_rsa_private_key.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource/openssl_rsa_private_key.rb b/spec/unit/resource/openssl_rsa_private_key.rb
index b52deca6ee..67bebf17fe 100644
--- a/spec/unit/resource/openssl_rsa_private_key.rb
+++ b/spec/unit/resource/openssl_rsa_private_key.rb
@@ -34,11 +34,11 @@ describe Chef::Resource::OpensslRsaPrivateKey do
end
it "has a default key_cipher of 'des3'" do
- expect(resource.key_cipher).to eql('des3')
+ expect(resource.key_cipher).to eql("des3")
end
it "only accepts valid key_cipher values" do
- expect { resource.key_cipher 'fako' }.to raise_error(ArgumentError)
+ expect { resource.key_cipher "fako" }.to raise_error(ArgumentError)
end
it "has a default key_length of 2048" do