mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
15 lines
325 B
Ruby
15 lines
325 B
Ruby
require_relative "artifact_helper"
|
|
|
|
class TestInspecHabitat < Minitest::Test
|
|
parallelize_me!
|
|
|
|
def test_habitat
|
|
flunk
|
|
command = "/bin/inspec habitat #{TEST_CLI_OPTS}"
|
|
stdout, stderr, status = Open3.capture3(command)
|
|
|
|
assert_empty stderr.sub(/#< CLIXML\n/, "")
|
|
assert stdout
|
|
assert status
|
|
end
|
|
end
|