lib/tasks/coverage.rake in p8-metric_fu-0.8.9.1 vs lib/tasks/coverage.rake in p8-metric_fu-0.9.0

- old
+ new

@@ -19,10 +19,10 @@ desc "RCov task to generate report" Rcov::RcovTask.new(:do => :clean) do |t| FileUtils.mkdir_p(MetricFu::BASE_DIRECTORY) unless File.directory?(MetricFu::BASE_DIRECTORY) t.test_files = FileList[*MetricFu.coverage[:test_files]] - t.rcov_opts = ["--sort coverage", "--html", "--rails", "--exclude /gems/,/Library/"] + t.rcov_opts = MetricFu.coverage[:rcov_opts] t.output_dir = COVERAGE_DIR # this line is a fix for Rails 2.1 relative loading issues t.libs << 'test' end # TODO not sure what this improves but it requires the diff-lcs gem \ No newline at end of file