Skip to content

Commit 8c76f47

Browse files
committed
use :capture => true for Thor run method which is introduced in latest Thor version
1 parent d7c95ad commit 8c76f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/plsql/spec/cli.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ def run_tests(*files)
7676

7777
if files.empty?
7878
say "Running all specs from spec/", :yellow
79-
puts run("#{speccommand} spec", :verbose => false)
79+
puts run("#{speccommand} spec", :verbose => false, :capture => true)
8080
else
8181
say "Running specs from #{files.join(', ')}", :yellow
82-
puts run("#{speccommand} #{files.join(' ')}", :verbose => false)
82+
puts run("#{speccommand} #{files.join(' ')}", :verbose => false, :capture => true)
8383
end
8484

8585
if options[:html]

0 commit comments

Comments
 (0)