mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
rubocop is on the beat
Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
parent
45070c15c0
commit
c993f91ca6
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
require "minitest/autorun"
|
||||
require "open3"
|
||||
|
||||
TEST_CLI_OPTS="--chef-license=accept-no-persist"
|
||||
TEST_CLI_OPTS = "--chef-license=accept-no-persist".freeze
|
||||
|
||||
class ArtifactTest < Minitest::Test
|
||||
make_my_diffs_pretty!
|
||||
|
@ -10,7 +10,7 @@ class ArtifactTest < Minitest::Test
|
|||
command = "inspec #{inspec_command} #{TEST_CLI_OPTS}"
|
||||
stdout, stderr, status = Open3.capture3({ "PATH" => ENV["PATH"] },
|
||||
command,
|
||||
{ :chdir => ENV["project_root"]})
|
||||
{ chdir: ENV["project_root"] })
|
||||
|
||||
assert_empty stderr.sub(/#< CLIXML\n/, "")
|
||||
assert stdout
|
||||
|
|
Loading…
Reference in a new issue