Don't open a new train connect, and make an issue for improving helper support

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2019-08-26 13:12:30 -04:00
parent fffb776982
commit f59497d982

View file

@ -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