Fix rubocop warnings

Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-10-16 20:38:37 -07:00
parent ff7891132a
commit 6e88b3ceb9

View file

@ -2,11 +2,11 @@ require "minitest/autorun"
class TestArtifactDetect < Minitest::Test
def test_detect
out, err = capture_subprocess_io {
out, err = capture_subprocess_io do
assert system("inspec detect --no-color")
}
end
assert_match %r%Platform Details%, out
assert_match %r{/Platform Details/}, out
assert_empty err
end
end