mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
6e88b3ceb9
Signed-off-by: Miah Johnson <miah@chia-pet.org>
12 lines
261 B
Ruby
12 lines
261 B
Ruby
require "minitest/autorun"
|
|
|
|
class TestArtifactDetect < Minitest::Test
|
|
def test_detect
|
|
out, err = capture_subprocess_io do
|
|
assert system("inspec detect --no-color")
|
|
end
|
|
|
|
assert_match %r{/Platform Details/}, out
|
|
assert_empty err
|
|
end
|
|
end
|