mirror of
https://github.com/inspec/inspec
synced 2024-11-14 17:07:09 +00:00
13 lines
256 B
Ruby
13 lines
256 B
Ruby
|
require "minitest/autorun"
|
||
|
|
||
|
class TestArtifactDetect < Minitest::Test
|
||
|
def test_detect
|
||
|
out, err = capture_subprocess_io {
|
||
|
assert system("inspec detect --no-color")
|
||
|
}
|
||
|
|
||
|
assert_match %r%Platform Details%, out
|
||
|
assert_empty
|
||
|
end err
|
||
|
end
|