lib/teaspoon/coverage.rb in teaspoon-0.7.6 vs lib/teaspoon/coverage.rb in teaspoon-0.7.7

- old
+ new

@@ -20,10 +20,10 @@ end private def generate_report(input, format) - result = %x{#{executable} report #{format} #{input.shellescape}} + result = %x{#{executable} report #{format} #{input.shellescape} --dir #{Teaspoon.configuration.coverage_output_dir}} raise "Could not generate coverage report for #{format}" unless $?.exitstatus == 0 result.gsub("Done", "").gsub("Using reporter [#{format}]", "").strip end def executable