summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2016-01-22 08:15:24 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2016-01-25 09:53:44 -0800
commit74f32edd28ab18508440061e2b16020f03812589 (patch)
treea76c1f68bb7644824812dcb2872e5e7c78c83961 /spec
parent64c2dd07e01fae18aac742dd01dee5c8c996954f (diff)
downloadchef-74f32edd28ab18508440061e2b16020f03812589.tar.gz
Rename openssl-fips to fips and add messages
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/application_spec.rb2
-rw-r--r--spec/unit/client_spec.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/application_spec.rb b/spec/unit/application_spec.rb
index c8f138cdcc..d66cc26927 100644
--- a/spec/unit/application_spec.rb
+++ b/spec/unit/application_spec.rb
@@ -138,7 +138,7 @@ describe Chef::Application do
context "when openssl fips" do
before do
- allow(Chef::Config).to receive(:openssl_fips).and_return(true)
+ allow(Chef::Config).to receive(:fips).and_return(true)
end
it "sets openssl in fips mode" do
diff --git a/spec/unit/client_spec.rb b/spec/unit/client_spec.rb
index 26cc8f3cf9..82adf057dc 100644
--- a/spec/unit/client_spec.rb
+++ b/spec/unit/client_spec.rb
@@ -52,7 +52,7 @@ describe Chef::Client do
end
context "when openssl is compiled with the FIPS module" do
before do
- Chef::Config[:openssl_fips] = true
+ Chef::Config[:fips] = true
end
it "defaults to 1.3" do
@@ -60,7 +60,7 @@ describe Chef::Client do
end
after do
- Chef::Config[:openssl_fips] = false
+ Chef::Config[:fips] = false
end
end
end