From 6495738dbc3468ea400eec983746cb49ef6226cc Mon Sep 17 00:00:00 2001 From: Mike Blumtritt Date: Wed, 9 Sep 2015 14:01:14 +0200 Subject: [PATCH] Fix verbose option for TestTask MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `rake test —verbose` did not result in verbose mode for MiniTest. The verbose option needs to be forwarded to the Ruby call. --- lib/rake/testtask.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rake/testtask.rb b/lib/rake/testtask.rb index 5cae95c5d..93e1ca260 100644 --- a/lib/rake/testtask.rb +++ b/lib/rake/testtask.rb @@ -128,6 +128,7 @@ def ruby_opts_string # :nodoc: opts = @ruby_opts.dup opts.unshift("-I\"#{lib_path}\"") unless @libs.empty? opts.unshift("-w") if @warning + opts.unshift('--verbose') if @verbose opts.join(" ") end