diff --git a/test/test.rb b/test/test.rb index 32ea670b5259a7485b832f852c0940cfc393bf01..f7e9b61327919f5863a1c28d81b0f3256409484a 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