summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin McNeese <cmcneese@chef.io>2021-12-14 15:35:38 -0600
committerCollin McNeese <cmcneese@chef.io>2021-12-14 15:35:38 -0600
commit44e7d8ac2eea3135b127907e908dedc6c350296e (patch)
tree2a3de08a9d7be7ca0a63b02753716bcb1c39115e
parentc4c13058303616d52ffa8f69cb7a93f4fcc59c6b (diff)
downloadchef-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.rb1
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