inspec/test/artifact/inspec_env_test.rb
Miah Johnson 2a2dd29e5b I moved up open3, so lets delete these
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 15:55:50 -08:00

13 lines
302 B
Ruby

require_relative "artifact_helper"
class TestInspecEnv < Minitest::Test
parallelize_me!
def test_env
command = "/bin/inspec env #{TEST_CLI_OPTS}"
stdout, stderr, status = Open3.capture3(command)
assert_empty stderr.sub(/#< CLIXML\n/, "")
assert stdout
assert status
end
end