mirror of
https://github.com/inspec/inspec
synced 2024-11-14 00:47:10 +00:00
2a2dd29e5b
Signed-off-by: Miah Johnson <miah@chia-pet.org>
13 lines
302 B
Ruby
13 lines
302 B
Ruby
require_relative "artifact_helper"
|
|
|
|
class TestInspecEnv < Minitest::Test
|
|
parallelize_me!
|
|
def test_env
|
|
command = "/bin/inspec env #{TEST_CLI_OPTS}"
|
|
stdout, stderr, status = Open3.capture3(command)
|
|
|
|
assert_empty stderr.sub(/#< CLIXML\n/, "")
|
|
assert stdout
|
|
assert status
|
|
end
|
|
end
|