From fa96a9775574d3dd579e763eaaddad9c43fe33d8 Mon Sep 17 00:00:00 2001 From: Mike Poage Date: Tue, 15 Nov 2022 13:59:46 -0500 Subject: [PATCH] add test to ensure no absolute paths appear in codeclimate output --- test/tests/report_generation.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/tests/report_generation.rb b/test/tests/report_generation.rb index 402701d24c..3aff3dfb6e 100644 --- a/test/tests/report_generation.rb +++ b/test/tests/report_generation.rb @@ -37,6 +37,7 @@ def test_codeclimate_sanity report = @@report.to_codeclimate assert report.is_a? String + refute report.include? Dir.pwd # Ensure output does not include absolute paths end def test_csv_sanity