From 1dd1efa03f9b7f6bf67995a7a9b913d65356a533 Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Sun, 18 Aug 2019 20:33:54 -0700 Subject: [PATCH] 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 --- test/functional/inspec_exec_test.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/functional/inspec_exec_test.rb b/test/functional/inspec_exec_test.rb index 958068cbd..6e4bf478e 100644 --- a/test/functional/inspec_exec_test.rb +++ b/test/functional/inspec_exec_test.rb @@ -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