mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +00:00
Update tests to match new deprecation message
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
b327615b85
commit
ee70d0e200
1 changed files with 2 additions and 2 deletions
|
@ -491,7 +491,7 @@ Test Summary: 0 successful, 0 failures, 0 skipped
|
|||
describe "with a profile that contains deprecated aws resources" do
|
||||
let(:out) { inspec("exec " + File.join(profile_path, "aws-profile")) }
|
||||
it "exits with deprecation error" do
|
||||
_(stdout).must_include "DEPRECATION: AWS resources shipped with core InSpec are deprecated"
|
||||
_(stdout).must_include "DEPRECATION: AWS resources in core InSpec are deprecated and have been removed in InSpec 5"
|
||||
assert_exit_code 3, out
|
||||
end
|
||||
end
|
||||
|
@ -499,7 +499,7 @@ Test Summary: 0 successful, 0 failures, 0 skipped
|
|||
describe "with a profile that contains deprecated azure resources" do
|
||||
let(:out) { inspec("exec " + File.join(profile_path, "azure-profile")) }
|
||||
it "exits with deprecation error" do
|
||||
_(stdout).must_include "DEPRECATION: Azure resources shipped with core InSpec are deprecated"
|
||||
_(stdout).must_include "DEPRECATION: Azure resources in core InSpec are deprecated and have been removed in InSpec 5"
|
||||
assert_exit_code 3, out
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue