mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Fix rubocop warnings
Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
parent
ff7891132a
commit
6e88b3ceb9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue