spec/unit/plugins/windows/fips_spec.rb in ohai-14.8.12 vs spec/unit/plugins/windows/fips_spec.rb in ohai-14.14.0
- old
+ new
@@ -96,9 +96,10 @@
it_behaves_like "fips_plugin"
end
context "with Ruby 2.5 or newer", if: defined?(OpenSSL.fips_mode) do
+ let(:arch) { Win32::Registry::KEY_READ }
let(:openssl_test_mode) { false }
context "with OpenSSL.fips_mode == false" do
before { allow(OpenSSL).to receive(:fips_mode).and_return(false) }
it "does not set fips plugin" do