From f59497d9822812b26bb254717d86765919d9b486 Mon Sep 17 00:00:00 2001 From: Clinton Wolfe Date: Mon, 26 Aug 2019 13:12:30 -0400 Subject: [PATCH] Don't open a new train connect, and make an issue for improving helper support Signed-off-by: Clinton Wolfe --- test/functional/inputs_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/functional/inputs_test.rb b/test/functional/inputs_test.rb index 71e2c9384..35837f996 100644 --- a/test/functional/inputs_test.rb +++ b/test/functional/inputs_test.rb @@ -110,10 +110,10 @@ describe "inputs" do EOSCRIPT script.flush - train_cxn = Train.create("local", command_runner: :generic).connection - # TODO - portability - this does not have windows compat stuff from the inspec() method in functional/helper.rb - # it is not portable to windows at this point yet. - train_cxn.run_command("ruby #{script.path}") + # TODO - portability - this does not have windows compat stuff from the inspec() + # method in functional/helper.rb - it is not portable to windows at this point yet. + # https://github.com/inspec/inspec/issues/4416 + CMD.run_command("ruby #{script.path}") end end