diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/application_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/client_spec.rb | 4 |
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 |