mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
CFINSPEC-68: Fix aws test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
e291f09bc1
commit
a35e3ba17f
1 changed files with 2 additions and 2 deletions
|
@ -1169,9 +1169,9 @@ Test Summary: 2 successful, 0 failures, 0 skipped\n"
|
|||
let(:cloud_profile) { cloud_path + "test-aws" }
|
||||
# Use log level FATAL to absorb WARNs from deprecataions and ERRORs from not having credentials set.
|
||||
# An actual stacktrace then will appear as sole stderr output
|
||||
let(:args) { "-t aws://fakecreds --log-level fatal " }
|
||||
let(:args) { "-t aws://" }
|
||||
it "should fail to connect to aws due to lack of creds and stacktrace" do
|
||||
_(run_result.stderr).wont_match looks_like_a_stacktrace
|
||||
_(run_result.stderr).must_include "unable to sign request without credentials set"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue