mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
ca1416fb0a
Signed-off-by: Miah Johnson <miah@chia-pet.org>
17 lines
353 B
Ruby
17 lines
353 B
Ruby
require_relative "artifact_helper"
|
|
require "open3"
|
|
|
|
class TestInspecJson < Minitest::Test
|
|
parallelize_me!
|
|
|
|
def test_json
|
|
flunk
|
|
# Need a tempdir
|
|
command = "/bin/inspec json #{TEST_CLI_OPTS}"
|
|
stdout, stderr, status = Open3.capture3(command)
|
|
|
|
assert_empty stderr.sub(/#< CLIXML\n/, "")
|
|
assert stdout
|
|
assert status
|
|
end
|
|
end
|