diff --git a/test/tests/brakeman.rb b/test/tests/brakeman.rb index 81806293f..f261c7001 100644 --- a/test/tests/brakeman.rb +++ b/test/tests/brakeman.rb @@ -267,6 +267,20 @@ def test_quiet_inconfig_with_command_line end end + def test_timing_output + options = { + :app_path => "#{TEST_PATH}/apps/rails4", + :show_timing => true, + :quiet => false, + :run_checks => [] + } + + assert_output nil, /Duration/ do + Brakeman.run options + end + + end + def output_format_tester options, expected_options output_formats = Brakeman.get_output_formats(options)