mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
test change for bad resource/backend combo.
I think this is probably in contention with my other PR on resource initialization. We definitely need to change that, so this might fall to the side. Or maybe just the test needs to be redone. We'll discuss and see. Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
bd3ec9aec7
commit
1dd1efa03f
1 changed files with 2 additions and 3 deletions
|
@ -27,9 +27,8 @@ describe "inspec exec" do
|
|||
# TODO: I do not know how to test this more directly. It should be possible.
|
||||
inspec "exec -t aws:// #{profile_path}/incompatible_resource_for_transport.rb"
|
||||
|
||||
stdout.must_include "Bad File on TrainPlugins::Aws::Connection"
|
||||
stdout.must_include "Resource `file` is not supported on platform aws/train-aws"
|
||||
stderr.must_equal ""
|
||||
stdout.must_be_empty
|
||||
stderr.must_include "Unsupported resource/backend combination: file / aws. Exiting."
|
||||
end
|
||||
|
||||
it "can execute the profile" do
|
||||
|
|
Loading…
Reference in a new issue