inspec/test/artifact/inspec_archive_test.rb
Miah Johnson ca1416fb0a Add some very basic tests. Several of which outright flunk!
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 15:42:48 -08:00

15 lines
352 B
Ruby

require_relative "artifact_helper"
class TestInspecArchive < Minitest::Test
parallelize_me!
def test_archive
flunk
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