From 12ff426ef1cceb03192152055d441dfc3a7cef5c Mon Sep 17 00:00:00 2001 From: Jay Mundrawala Date: Tue, 26 Jan 2016 16:20:56 -0800 Subject: Fix inverted filter logic for not_fips rspec filter --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 34716e5fd8..35e6850e8e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -169,7 +169,7 @@ RSpec.configure do |config| config.filter_run_excluding :aes_256_gcm_only => true unless aes_256_gcm? config.filter_run_excluding :broken => true config.filter_run_excluding :not_wpar => true unless wpar? - config.filter_run_excluding :not_fips => true unless fips? + config.filter_run_excluding :not_fips => true if fips? running_platform_arch = `uname -m`.strip unless windows? -- cgit v1.2.1 From 75f453a1d7f4adf15d9a52579ac74901dfa26d6b Mon Sep 17 00:00:00 2001 From: Jay Mundrawala Date: Wed, 27 Jan 2016 11:26:36 -0800 Subject: Rename not_fips rspec filter to no_supported_under_fips --- spec/spec_helper.rb | 2 +- spec/unit/encrypted_data_bag_item_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 35e6850e8e..f85369b6a6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -169,7 +169,7 @@ RSpec.configure do |config| config.filter_run_excluding :aes_256_gcm_only => true unless aes_256_gcm? config.filter_run_excluding :broken => true config.filter_run_excluding :not_wpar => true unless wpar? - config.filter_run_excluding :not_fips => true if fips? + config.filter_run_excluding :not_supported_under_fips => true if fips? running_platform_arch = `uname -m`.strip unless windows? diff --git a/spec/unit/encrypted_data_bag_item_spec.rb b/spec/unit/encrypted_data_bag_item_spec.rb index ee69ecfddc..55c8692781 100644 --- a/spec/unit/encrypted_data_bag_item_spec.rb +++ b/spec/unit/encrypted_data_bag_item_spec.rb @@ -290,7 +290,7 @@ describe Chef::EncryptedDataBagItem::Decryptor do end - context "when decrypting a version 0 (YAML+aes-256-cbc+no iv) encrypted value", :not_fips do + context "when decrypting a version 0 (YAML+aes-256-cbc+no iv) encrypted value", :not_supported_under_fips do let(:encrypted_value) do Version0Encryptor.encrypt_value(plaintext_data, encryption_key) end -- cgit v1.2.1