diff options
author | Collin McNeese <cmcneese@chef.io> | 2021-12-14 15:35:38 -0600 |
---|---|---|
committer | Collin McNeese <cmcneese@chef.io> | 2021-12-14 15:35:38 -0600 |
commit | 44e7d8ac2eea3135b127907e908dedc6c350296e (patch) | |
tree | 2a3de08a9d7be7ca0a63b02753716bcb1c39115e | |
parent | c4c13058303616d52ffa8f69cb7a93f4fcc59c6b (diff) | |
download | chef-44e7d8ac2eea3135b127907e908dedc6c350296e.tar.gz |
rebase from upstream, updates unit for hashi_vault_spec
Signed-off-by: Collin McNeese <cmcneese@chef.io>
-rw-r--r-- | spec/unit/secret_fetcher/hashi_vault_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/unit/secret_fetcher/hashi_vault_spec.rb b/spec/unit/secret_fetcher/hashi_vault_spec.rb index 7d7acc424a..7a6b7aae70 100644 --- a/spec/unit/secret_fetcher/hashi_vault_spec.rb +++ b/spec/unit/secret_fetcher/hashi_vault_spec.rb @@ -70,7 +70,6 @@ describe Chef::SecretFetcher::HashiVault do it "raises ConfigurationInvalid message when :approle_name or :approle_id are not specified" do fetcher = Chef::SecretFetcher::HashiVault.new( { auth_method: :approle, vault_addr: "https://vault.example.com:8200" }, run_context) expect { fetcher.validate! }.to raise_error(Chef::Exceptions::Secret::ConfigurationInvalid) - expect { fetcher.validate! }.to raise_error("You must provide the :approle_name or :approle_id in the configuration with :auth_method set to :approle") end it "authenticates using the approle_id and approle_secret_id during validation when all configuration is correct" do |