We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91504e8 commit e190930Copy full SHA for e190930
test/instance_agent/file_credentials_test.rb
@@ -53,7 +53,7 @@ class FileCredentialsTest < InstanceAgentTestCase
53
end
54
55
should 'raise error when credential file is missing' do
56
- assert_raised_with_message("Profile `default' not found in #{credentials_path}", Aws::Errors::NoSuchProfileError) do
+ assert_raised_with_message("Failed to load credentials from path #{credentials_path}", RuntimeError) do
57
InstanceAgent::FileCredentials.new(credentials_path)
58
59
0 commit comments