inspec/test/artifact/inspec_archive_test.rb
Miah Johnson 71e72af079 Change flunk to skip. drop parallelize me until multiple tests
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 16:19:19 -08:00

13 lines
332 B
Ruby

require_relative "artifact_helper"
class TestInspecArchive < Minitest::Test
def test_archive
skip
command = "/bin/inspec archive #{TEST_CLI_OPTS}"
stdout, stderr, status = Open3.capture3(command)
assert_empty stderr.sub(/#< CLIXML\n/, "")
assert_match(/Platform Details/, stdout)
assert status
end
end