From 6ec9d8b2758678a8c2c7f6814be6c0218aca1c47 Mon Sep 17 00:00:00 2001 From: Justin Collins Date: Wed, 22 Apr 2015 14:50:23 -0700 Subject: [PATCH] Quiet tests --- test/test.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/test.rb b/test/test.rb index 32ea670b..f7e9b613 100644 --- a/test/test.rb +++ b/test/test.rb @@ -25,20 +25,10 @@ module BrakemanTester #Run scan on app at the given path def run_scan path, name = nil, opts = {} opts.merge! :app_path => "#{TEST_PATH}/apps/#{path}", - :quiet => false, :url_safe_methods => [:ensure_valid_proto!] - announce "Processing #{name} application..." - Brakeman.run(opts).report.to_hash end - - #Make an announcement - def announce msg - $stderr.puts "-" * 40 - $stderr.puts msg - $stderr.puts "-" * 40 - end end end -- GitLab