summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-09-16 14:35:33 -0700
committerGitHub <noreply@github.com>2020-09-16 14:35:33 -0700
commitc4eafc9cde951c2743a9791df1acc535367a04a6 (patch)
tree4fd2ebe1e606bce9d3591fa08b3ebbcb98d8c310 /spec
parent06870377d0d22ee2ca5228d3a5545fd17dbb3cc8 (diff)
parentfe126e7720300f8c2fb615d40d9b353443db4e80 (diff)
downloadchef-c4eafc9cde951c2743a9791df1acc535367a04a6.tar.gz
Merge pull request #10438 from chef/speedup_specs
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/mixin/openssl_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/mixin/openssl_helper_spec.rb b/spec/unit/mixin/openssl_helper_spec.rb
index 1cd3960757..7c12037798 100644
--- a/spec/unit/mixin/openssl_helper_spec.rb
+++ b/spec/unit/mixin/openssl_helper_spec.rb
@@ -99,7 +99,7 @@ describe Chef::Mixin::OpenSSLHelper do
context "When the dhparam.pem file does exist, and does contain a vaild dhparam key" do
it "returns true" do
- @dhparam_file.puts(::OpenSSL::PKey::DH.new(1024).to_pem)
+ @dhparam_file.puts(::OpenSSL::PKey::DH.new(256).to_pem) # this is 256 to speed up specs
@dhparam_file.close
expect(instance.dhparam_pem_valid?(@dhparam_file.path)).to be_truthy
end