diff --git a/lib/plugins/inspec-reporter-html2/test/functional/inspec_reporter_html2_test.rb b/lib/plugins/inspec-reporter-html2/test/functional/inspec_reporter_html2_test.rb index aa9f22f16..485bbfd9a 100644 --- a/lib/plugins/inspec-reporter-html2/test/functional/inspec_reporter_html2_test.rb +++ b/lib/plugins/inspec-reporter-html2/test/functional/inspec_reporter_html2_test.rb @@ -28,7 +28,7 @@ describe "inspec-reporter-html2" do } run_result - _(HTMLProofer.check_file(output_file, proofer_opts).run).must_output("") + _(proc {HTMLProofer.check_file(output_file, proofer_opts).run} ).must_be_silent end end